File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11'use strict';
22const common = require('../common');
3+ const fixtures = require('../common/fixtures');
34const assert = require('assert');
45const child = require('child_process');
56const 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();
You can’t perform that action at this time.
0 commit comments