From 4674b42a81d1b7bdb1b45bf392bc66e294df4740 Mon Sep 17 00:00:00 2001 From: Kanika Shah Date: Fri, 6 Oct 2017 10:23:44 -0700 Subject: [PATCH] test: use fixtures module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/15959 Reviewed-By: Daijiro Wachi Reviewed-By: Ruben Bridgewater Reviewed-By: Tobias Nießen Reviewed-By: Gireesh Punathil Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca --- test/parallel/test-fs-error-messages.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/parallel/test-fs-error-messages.js b/test/parallel/test-fs-error-messages.js index 6fc555eca2..f4d203e7d5 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