Skip to content

Commit bba5263

Browse files
PyMedicMylesBorins
authored andcommitted
test: replace fixturesDir with fixtures module
PR-URL: #16036 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent a8e7fa4 commit bba5263

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-repl-syntax-error-stack.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use strict';
22

33
const common = require('../common');
4+
const fixtures = require('../common/fixtures');
45
const assert = require('assert');
5-
const path = require('path');
66
const repl = require('repl');
77
let found = false;
88

@@ -17,7 +17,7 @@ common.ArrayStream.prototype.write = function(output) {
1717

1818
const putIn = new common.ArrayStream();
1919
repl.start('', putIn);
20-
let file = path.join(common.fixturesDir, 'syntax', 'bad_syntax');
20+
let file = fixtures.path('syntax', 'bad_syntax');
2121

2222
if (common.isWindows)
2323
file = file.replace(/\\/g, '\\\\');

0 commit comments

Comments
 (0)