diff --git a/test/parallel/test-repl-syntax-error-stack.js b/test/parallel/test-repl-syntax-error-stack.js index af7e8bed6e..462deb5fb6 100644 --- a/test/parallel/test-repl-syntax-error-stack.js +++ b/test/parallel/test-repl-syntax-error-stack.js @@ -1,8 +1,8 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); -const path = require('path'); const repl = require('repl'); let found = false; @@ -17,7 +17,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, '\\\\');