From 8baa32518527cac222f469bf09360918010855ec Mon Sep 17 00:00:00 2001 From: Alex McKenzie Date: Fri, 6 Oct 2017 12:20:01 -0500 Subject: [PATCH] test: replaced fixturesDir with fixtures module PR-URL: https://github.com/nodejs/node/pull/15927 Reviewed-By: Ruben Bridgewater --- test/parallel/test-path-resolve.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-path-resolve.js b/test/parallel/test-path-resolve.js index 91a2807648fa40..abbbf4dd5f47b4 100644 --- a/test/parallel/test-path-resolve.js +++ b/test/parallel/test-path-resolve.js @@ -1,5 +1,6 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const child = require('child_process'); const path = require('path'); @@ -62,7 +63,7 @@ if (common.isWindows) { // Test resolving the current Windows drive letter from a spawned process. // See https://github.com/nodejs/node/issues/7215 const currentDriveLetter = path.parse(process.cwd()).root.substring(0, 2); - const resolveFixture = path.join(common.fixturesDir, 'path-resolve.js'); + const resolveFixture = fixtures.path('path-resolve.js'); const spawnResult = child.spawnSync( process.argv[0], [resolveFixture, currentDriveLetter]); const resolvedPath = spawnResult.stdout.toString().trim();