Skip to content

Commit db25322

Browse files
committed
test: fix wrong assumptions
1 parent d44d6c9 commit db25322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/abort/test-abort-fatal-error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (common.isWindows)
2727
const assert = require('assert');
2828
const exec = require('child_process').exec;
2929

30-
let cmdline = `ulimit -c 0; ${process.execPath}`;
30+
let cmdline = `ulimit -c 0; ${JSON.stringify(process.execPath)}`;
3131
cmdline += ' --max-old-space-size=16 --max-semi-space-size=4';
3232
cmdline += ' -e "a = []; for (i = 0; i < 1e9; i++) { a.push({}) }"';
3333

0 commit comments

Comments
 (0)