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 Oct 11, 2017
1 parent 572492a commit e48c8b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

'use strict';
const common = require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');
const { join } = require('path');
const { execFile } = require('child_process');

// test for leaked global detection
Expand Down Expand Up @@ -72,10 +72,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 e48c8b3

Please sign in to comment.