Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
code & lean
Replaced common.fixturesDir with usage of the common.fixtures module.
  • Loading branch information
PyMedic committed Oct 6, 2017
commit 9171591bd5fa411a098dfd82e591e4bd7aa6aefa
3 changes: 2 additions & 1 deletion test/parallel/test-repl-syntax-error-stack.js
Original file line number Diff line number Diff line change
@@ -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');
Expand All @@ -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, '\\\\');
Expand Down