Skip to content

Commit 8a96bb4

Browse files
committed
test: make tests work with newer v8
1 parent 5e57bcc commit 8a96bb4

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

test/message/stack_overflow.out

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@ before
44
function stackOverflow() {
55
^
66
RangeError: Maximum call stack size exceeded
7+
at stackOverflow (*test/message/stack_overflow.js:31:23)
8+
at stackOverflow (*test/message/stack_overflow.js:32:3)
9+
at stackOverflow (*test/message/stack_overflow.js:32:3)
10+
at stackOverflow (*test/message/stack_overflow.js:32:3)
11+
at stackOverflow (*test/message/stack_overflow.js:32:3)
12+
at stackOverflow (*test/message/stack_overflow.js:32:3)
13+
at stackOverflow (*test/message/stack_overflow.js:32:3)
14+
at stackOverflow (*test/message/stack_overflow.js:32:3)
15+
at stackOverflow (*test/message/stack_overflow.js:32:3)
16+
at stackOverflow (*test/message/stack_overflow.js:32:3)

test/simple/test-util-inspect.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ var ex = util.inspect(new Error('FAIL'), true);
7777
assert.ok(ex.indexOf('[Error: FAIL]') != -1);
7878
assert.ok(ex.indexOf('[stack]') != -1);
7979
assert.ok(ex.indexOf('[message]') != -1);
80-
assert.ok(ex.indexOf('[arguments]') != -1);
81-
assert.ok(ex.indexOf('[type]') != -1);
8280

8381
// GH-1941
8482
// should not throw:

0 commit comments

Comments
 (0)