Skip to content

Commit d249a1b

Browse files
mckalexeeaddaleax
authored andcommitted
test: replaced fixturesDir with fixtures module
PR-URL: nodejs/node#15927 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 69b840a commit d249a1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-path-resolve.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict';
22
const common = require('../common');
3+
const fixtures = require('../common/fixtures');
34
const assert = require('assert');
45
const child = require('child_process');
56
const path = require('path');
@@ -62,7 +63,7 @@ if (common.isWindows) {
6263
// Test resolving the current Windows drive letter from a spawned process.
6364
// See https://github.com/nodejs/node/issues/7215
6465
const currentDriveLetter = path.parse(process.cwd()).root.substring(0, 2);
65-
const resolveFixture = path.join(common.fixturesDir, 'path-resolve.js');
66+
const resolveFixture = fixtures.path('path-resolve.js');
6667
const spawnResult = child.spawnSync(
6768
process.argv[0], [resolveFixture, currentDriveLetter]);
6869
const resolvedPath = spawnResult.stdout.toString().trim();

0 commit comments

Comments
 (0)