From b307582d1051c44c7a54c0e22ef0efa2c5e0f11b Mon Sep 17 00:00:00 2001 From: "Maring, Damian Lion" Date: Mon, 6 Nov 2017 15:06:30 +0000 Subject: [PATCH] test: use fixtures module in test-repl PR-URL: https://github.com/nodejs/node/pull/16809 Reviewed-By: Rich Trott Reviewed-By: Gireesh Punathil --- test/parallel/test-repl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js index 6df856a20ec410..f595e1b298bf64 100644 --- a/test/parallel/test-repl.js +++ b/test/parallel/test-repl.js @@ -21,6 +21,7 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); common.globalCheck = false; @@ -40,7 +41,7 @@ let server_tcp, server_unix, client_tcp, client_unix, replServer; // absolute path to test/fixtures/a.js -const moduleFilename = require('path').join(common.fixturesDir, 'a'); +const moduleFilename = fixtures.path('a'); console.error('repl test');