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
test: replaces common.fixturesDir with fixtures.fixturesDir
  • Loading branch information
ChristianMurphy committed Oct 6, 2017
commit 1f232e048516950b6d0f4da331466b0af53375af
7 changes: 4 additions & 3 deletions test/sequential/test-regress-GH-4015.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

'use strict';
const common = require('../common');
require('../common');
const { fixturesDir } = require('../common/fixtures');
const assert = require('assert');
const exec = require('child_process').exec;
const { exec } = require('child_process');

const cmd =
`"${process.execPath}" "${common.fixturesDir}/test-regress-GH-4015.js"`;
`"${process.execPath}" "${fixturesDir}/test-regress-GH-4015.js"`;

exec(cmd, function(err, stdout, stderr) {
assert(/RangeError: Maximum call stack size exceeded/.test(stderr));
Expand Down