Skip to content

Commit 7ef6e19

Browse files
mckalexeeaddaleax
authored andcommitted
test: replaced fixturesDir with fixtures module
This was an assigned task at Node.js Interactive North America 2017. This replaced the fixturesDir exported by the common module with the fixturesDir on the common/fixtures module in the path-makelong test. PR-URL: nodejs/node#15908 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 0c61e39 commit 7ef6e19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-path-makelong.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@
2121

2222
'use strict';
2323
const common = require('../common');
24+
const fixtures = require('../common/fixtures');
2425
const assert = require('assert');
2526
const path = require('path');
2627

2728
if (common.isWindows) {
28-
const file = path.join(common.fixturesDir, 'a.js');
29+
const file = fixtures.path('a.js');
2930
const resolvedFile = path.resolve(file);
3031

3132
assert.strictEqual(`\\\\?\\${resolvedFile}`,

0 commit comments

Comments
 (0)