diff options
author | Kanika Shah <kanika.shah@appdynamics.com> | 2017-10-06 20:23:44 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2017-10-24 00:17:32 +0300 |
commit | 489168d87f686ca0ea59b160eb2827f6684426b4 (patch) | |
tree | 8879d154f03dd2520e9793f0c0f0fb9cd58800d9 /test | |
parent | d472922e3516b01a7403547c581042a56be3029e (diff) |
test: use fixtures module
PR-URL: https://github.com/nodejs/node/pull/15959
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-fs-error-messages.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/parallel/test-fs-error-messages.js b/test/parallel/test-fs-error-messages.js index 6fc555eca2a..f4d203e7d5e 100644 --- a/test/parallel/test-fs-error-messages.js +++ b/test/parallel/test-fs-error-messages.js @@ -20,15 +20,15 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; -const common = require('../common'); +require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); -const path = require('path'); const fs = require('fs'); -const fn = path.join(common.fixturesDir, 'non-existent'); -const existingFile = path.join(common.fixturesDir, 'exit.js'); -const existingFile2 = path.join(common.fixturesDir, 'create-file.js'); -const existingDir = path.join(common.fixturesDir, 'empty'); -const existingDir2 = path.join(common.fixturesDir, 'keys'); +const fn = fixtures.path('non-existent'); +const existingFile = fixtures.path('exit.js'); +const existingFile2 = fixtures.path('create-file.js'); +const existingDir = fixtures.path('empty'); +const existingDir2 = fixtures.path('keys'); // ASYNC_CALL |