Skip to content

Commit

Permalink
test: make tests work with newer v8
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Jan 2, 2013
1 parent 5e57bcc commit 8a96bb4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 10 additions & 0 deletions test/message/stack_overflow.out
Expand Up @@ -4,3 +4,13 @@ before
function stackOverflow() {
^
RangeError: Maximum call stack size exceeded
at stackOverflow (*test/message/stack_overflow.js:31:23)
at stackOverflow (*test/message/stack_overflow.js:32:3)
at stackOverflow (*test/message/stack_overflow.js:32:3)
at stackOverflow (*test/message/stack_overflow.js:32:3)
at stackOverflow (*test/message/stack_overflow.js:32:3)
at stackOverflow (*test/message/stack_overflow.js:32:3)
at stackOverflow (*test/message/stack_overflow.js:32:3)
at stackOverflow (*test/message/stack_overflow.js:32:3)
at stackOverflow (*test/message/stack_overflow.js:32:3)
at stackOverflow (*test/message/stack_overflow.js:32:3)
2 changes: 0 additions & 2 deletions test/simple/test-util-inspect.js
Expand Up @@ -77,8 +77,6 @@ var ex = util.inspect(new Error('FAIL'), true);
assert.ok(ex.indexOf('[Error: FAIL]') != -1);
assert.ok(ex.indexOf('[stack]') != -1);
assert.ok(ex.indexOf('[message]') != -1);
assert.ok(ex.indexOf('[arguments]') != -1);
assert.ok(ex.indexOf('[type]') != -1);

// GH-1941
// should not throw:
Expand Down

0 comments on commit 8a96bb4

Please sign in to comment.