mirror of https://github.com/nodejs/node.git
test: make tests work with newer v8
parent
5e57bcc3ce
commit
8a96bb42c6
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue