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 <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
  • Loading branch information
matthewreed26 authored and MylesBorins committed Nov 28, 2017
1 parent 1365a6f commit 39ae3f1
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 39ae3f1

Please sign in to comment.