From 733d528ac42f07f37391775811d307e3227da7e4 Mon Sep 17 00:00:00 2001 From: matthewreed26 Date: Fri, 6 Oct 2017 13:22:24 -0400 Subject: [PATCH] test: replace fixtureDir with fixtures.path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/15943 Reviewed-By: Ruben Bridgewater Reviewed-By: Tobias Nießen Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Joyee Cheung --- test/parallel/test-common.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-common.js b/test/parallel/test-common.js index 647c39d939f2aa..7a73f93ae0f926 100644 --- a/test/parallel/test-common.js +++ b/test/parallel/test-common.js @@ -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 @@ -72,10 +72,10 @@ fnAtLeast2Called3(); const failFixtures = [ [ - join(common.fixturesDir, 'failmustcall1.js'), + fixtures.path('failmustcall1.js'), 'Mismatched function calls. Expected exactly 2, actual 1.' ], [ - join(common.fixturesDir, 'failmustcall2.js'), + fixtures.path('failmustcall2.js'), 'Mismatched function calls. Expected at least 2, actual 1.' ] ];