From 9171591bd5fa411a098dfd82e591e4bd7aa6aefa Mon Sep 17 00:00:00 2001 From: tabulatedreams Date: Fri, 6 Oct 2017 12:25:05 -0700 Subject: [PATCH] code & lean Replaced common.fixturesDir with usage of the common.fixtures module. --- test/parallel/test-repl-syntax-error-stack.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-repl-syntax-error-stack.js b/test/parallel/test-repl-syntax-error-stack.js index af7e8bed6ea89c..f433b628c99ca4 100644 --- a/test/parallel/test-repl-syntax-error-stack.js +++ b/test/parallel/test-repl-syntax-error-stack.js @@ -1,6 +1,7 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures') const assert = require('assert'); const path = require('path'); const repl = require('repl'); @@ -17,7 +18,7 @@ common.ArrayStream.prototype.write = function(output) { const putIn = new common.ArrayStream(); repl.start('', putIn); -let file = path.join(common.fixturesDir, 'syntax', 'bad_syntax'); +let file = fixtures.path('syntax', 'bad_syntax'); if (common.isWindows) file = file.replace(/\\/g, '\\\\');