diff options
author | Chris Jimenez <jimeneechris123@gmail.com> | 2017-10-06 09:36:35 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-10-10 19:30:59 -0700 |
commit | 6af889615dfb04a39b658e54cf1e5b4b7906d624 (patch) | |
tree | 5f9e8ec2fc07ba2d20fe41032157ef14ffc57e3f /test/parallel/test-fs-whatwg-url.js | |
parent | 1d7fbabaefb08c108b42f5d4a9583a77865129a4 (diff) | |
download | android-node-v8-6af889615dfb04a39b658e54cf1e5b4b7906d624.tar.gz android-node-v8-6af889615dfb04a39b658e54cf1e5b4b7906d624.tar.bz2 android-node-v8-6af889615dfb04a39b658e54cf1e5b4b7906d624.zip |
test: replace common.fixturesDir with fixtures
PR-URL: https://github.com/nodejs/node/pull/15806
Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'test/parallel/test-fs-whatwg-url.js')
-rw-r--r-- | test/parallel/test-fs-whatwg-url.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-fs-whatwg-url.js b/test/parallel/test-fs-whatwg-url.js index b9aaee9c30..21eb82700a 100644 --- a/test/parallel/test-fs-whatwg-url.js +++ b/test/parallel/test-fs-whatwg-url.js @@ -1,6 +1,7 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const path = require('path'); const fs = require('fs'); @@ -15,7 +16,7 @@ function pathToFileURL(p) { return new URL(`file://${p}`); } -const p = path.resolve(common.fixturesDir, 'a.js'); +const p = path.resolve(fixtures.fixturesDir, 'a.js'); const url = pathToFileURL(p); assert(url instanceof URL); |