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

Commit

Permalink
test: don't use V8-specific options on ChakraCore
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhorton committed Nov 8, 2017
1 parent fda2d93 commit 175fe68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/parallel/test-cli-node-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ if (!common.isChakraEngine) {
// V8 options
expect('--abort_on-uncaught_exception', 'B\n');
expect('--max-old-space-size=0', 'B\n');
expect('--stack-trace-limit=100',
/(\s*at f \(\[eval\]:1:\d*\)\r?\n){100}/,
'(function f() { f(); })();',
true);
}
expect('--stack-trace-limit=100',
/(\s*at f \(\[eval\]:1:\d*\)\r?\n){100}/,
'(function f() { f(); })();',
true);

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

0 comments on commit 175fe68

Please sign in to comment.