From 19f5b96d66b7d4136c712730b6b9080d2222631b Mon Sep 17 00:00:00 2001 From: Josh Lim Date: Fri, 6 Oct 2017 09:29:45 -0700 Subject: [PATCH] test: replace fixturesDir to use fixtures module --- test/parallel/test-fs-symlink.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-fs-symlink.js b/test/parallel/test-fs-symlink.js index 9e19958b628749..1de7532068c5e5 100644 --- a/test/parallel/test-fs-symlink.js +++ b/test/parallel/test-fs-symlink.js @@ -21,6 +21,7 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); if (!common.canCreateSymLink()) common.skip('insufficient privileges'); @@ -34,7 +35,7 @@ let fileTime; common.refreshTmpDir(); // test creating and reading symbolic link -const linkData = path.join(common.fixturesDir, '/cycles/root.js'); +const linkData = fixtures.path('/cycles/root.js'); const linkPath = path.join(common.tmpDir, 'symlink1.js'); fs.symlink(linkData, linkPath, common.mustCall(function(err) {