summaryrefslogtreecommitdiff
path: root/test/parallel/test-repl-persistent-history.js
diff options
context:
space:
mode:
authorBryan English <bryan@bryanenglish.com>2016-05-26 09:43:09 -0700
committerBryan English <bryan@bryanenglish.com>2016-06-06 15:28:52 -0700
commitcc2a88a2f32bab8a14209713c19aaf14d7652a45 (patch)
treee072ffc6124cbe20fd96059fb14da790665f396e /test/parallel/test-repl-persistent-history.js
parent843d58fcbbec09cde5633e0bc5ab025d0a640204 (diff)
downloadandroid-node-v8-cc2a88a2f32bab8a14209713c19aaf14d7652a45.tar.gz
android-node-v8-cc2a88a2f32bab8a14209713c19aaf14d7652a45.tar.bz2
android-node-v8-cc2a88a2f32bab8a14209713c19aaf14d7652a45.zip
test: use common.fixturesDir almost everywhere
Updating tests to use `common.fixturesDir` whenever possible/reasonable. Left out things like tests for `path` and `require.resolve`. PR-URL: https://github.com/nodejs/node/pull/6997 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-repl-persistent-history.js')
-rw-r--r--test/parallel/test-repl-persistent-history.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-repl-persistent-history.js b/test/parallel/test-repl-persistent-history.js
index e8b6d416f0..70d6a51c81 100644
--- a/test/parallel/test-repl-persistent-history.js
+++ b/test/parallel/test-repl-persistent-history.js
@@ -70,7 +70,7 @@ const sameHistoryFilePaths = '\nThe old repl history file has the same name ' +
path.join(common.tmpDir, '.node_repl_history') +
' and is empty.\nUsing it as is.\n';
// File paths
-const fixtures = path.join(common.testDir, 'fixtures');
+const fixtures = common.fixturesDir;
const historyFixturePath = path.join(fixtures, '.node_repl_history');
const historyPath = path.join(common.tmpDir, '.fixture_copy_repl_history');
const historyPathFail = path.join(common.tmpDir, '.node_repl\u0000_history');