Skip to content

Commit

Permalink
test: replace fixtureDir with fixtures.path
Browse files Browse the repository at this point in the history
PR-URL: #15943
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
  • Loading branch information
matthewreed26 authored and MylesBorins committed Nov 14, 2017
1 parent 3c4bdd5 commit 58fd008
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/parallel/test-common.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
'use strict';
const common = require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');

const {join} = require('path');
const {execFile} = require('child_process');

common.globalCheck = false;
Expand Down Expand Up @@ -37,10 +36,10 @@ fnAtLeast2Called3();

const failFixtures = [
[
join(common.fixturesDir, 'failmustcall1.js'),
fixtures.path('failmustcall1.js'),
'Mismatched <anonymous> function calls. Expected exactly 2, actual 1.'
], [
join(common.fixturesDir, 'failmustcall2.js'),
fixtures.path('failmustcall2.js'),
'Mismatched <anonymous> function calls. Expected at least 2, actual 1.'
]
];
Expand Down

0 comments on commit 58fd008

Please sign in to comment.