diff options
author | Alex McKenzie <alex@unbreak-it.com> | 2017-10-06 12:16:42 -0500 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2017-10-09 02:13:19 -0700 |
commit | 585c1199a242cfe5e7561e812b438934de199055 (patch) | |
tree | 5b5495ab02dc8d7f4651599141ed9cb072466ade /test/parallel/test-path-makelong.js | |
parent | d00bb87cc7f3cb01403a932365698f9667d47be6 (diff) | |
download | android-node-v8-585c1199a242cfe5e7561e812b438934de199055.tar.gz android-node-v8-585c1199a242cfe5e7561e812b438934de199055.tar.bz2 android-node-v8-585c1199a242cfe5e7561e812b438934de199055.zip |
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: https://github.com/nodejs/node/pull/15908
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/parallel/test-path-makelong.js')
-rw-r--r-- | test/parallel/test-path-makelong.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-path-makelong.js b/test/parallel/test-path-makelong.js index 99e3454bb3..f3b145729b 100644 --- a/test/parallel/test-path-makelong.js +++ b/test/parallel/test-path-makelong.js @@ -21,11 +21,12 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const path = require('path'); if (common.isWindows) { - const file = path.join(common.fixturesDir, 'a.js'); + const file = fixtures.path('a.js'); const resolvedFile = path.resolve(file); assert.strictEqual(`\\\\?\\${resolvedFile}`, |