diff options
author | Miguel Angel Asencio Hurtado <maasencioh@gmail.com> | 2017-08-09 19:29:40 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2017-08-27 21:14:34 -0300 |
commit | 9a5c3cf185c6e9c4fb9264cf8e61a74a5d697ff9 (patch) | |
tree | a053ea27d73238b5b50f88503925b90aacf04537 /test/fixtures/module-require-symlink | |
parent | 53c5bf546e8e52db5b11287ab3bf1375819b369b (diff) | |
download | android-node-v8-9a5c3cf185c6e9c4fb9264cf8e61a74a5d697ff9.tar.gz android-node-v8-9a5c3cf185c6e9c4fb9264cf8e61a74a5d697ff9.tar.bz2 android-node-v8-9a5c3cf185c6e9c4fb9264cf8e61a74a5d697ff9.zip |
test: continue normalizing fixtures use
PR-URL: https://github.com/nodejs/node/pull/14716
Refs: https://github.com/nodejs/node/pull/14332
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Diffstat (limited to 'test/fixtures/module-require-symlink')
-rw-r--r-- | test/fixtures/module-require-symlink/symlinked.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/fixtures/module-require-symlink/symlinked.js b/test/fixtures/module-require-symlink/symlinked.js index 657ef26626..ced901b246 100644 --- a/test/fixtures/module-require-symlink/symlinked.js +++ b/test/fixtures/module-require-symlink/symlinked.js @@ -1,11 +1,9 @@ 'use strict'; -const common = require('../../common'); const assert = require('assert'); const foo = require('./foo'); -const path = require('path'); +const fixtures = require('../../common/fixtures'); -const linkScriptTarget = path.join(common.fixturesDir, - 'module-require-symlink', 'symlinked.js'); +const linkScriptTarget = fixtures.path('module-require-symlink', 'symlinked.js'); assert.strictEqual(foo.dep1.bar.version, 'CORRECT_VERSION'); assert.strictEqual(foo.dep2.bar.version, 'CORRECT_VERSION'); |