From 68a0f08e500798a2a129609697b3c1fd249ce25d Mon Sep 17 00:00:00 2001 From: Kanika Shah Date: Fri, 6 Oct 2017 10:23:44 -0700 Subject: [PATCH] Use fixturesDir in the test-fs-error-messages.js instead of fixtures --- test/parallel/test-fs-error-messages.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/parallel/test-fs-error-messages.js b/test/parallel/test-fs-error-messages.js index 6fc555eca2ae17..808ce34a579f85 100644 --- a/test/parallel/test-fs-error-messages.js +++ b/test/parallel/test-fs-error-messages.js @@ -21,14 +21,15 @@ 'use strict'; const 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