Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 175fe68

Browse files
committed
test: don't use V8-specific options on ChakraCore
1 parent fda2d93 commit 175fe68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/parallel/test-cli-node-options.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ if (!common.isChakraEngine) {
3636
// V8 options
3737
expect('--abort_on-uncaught_exception', 'B\n');
3838
expect('--max-old-space-size=0', 'B\n');
39+
expect('--stack-trace-limit=100',
40+
/(\s*at f \(\[eval\]:1:\d*\)\r?\n){100}/,
41+
'(function f() { f(); })();',
42+
true);
3943
}
40-
expect('--stack-trace-limit=100',
41-
/(\s*at f \(\[eval\]:1:\d*\)\r?\n){100}/,
42-
'(function f() { f(); })();',
43-
true);
4444

4545
function expect(opt, want, command = 'console.log("B")', wantsError = false) {
4646
const argv = ['-e', command];

0 commit comments

Comments
 (0)