From 8a96bb42c6d100327f505b01f8ad5aba8c4b7c66 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Tue, 1 Jan 2013 16:06:28 +0400 Subject: [PATCH] test: make tests work with newer v8 --- test/message/stack_overflow.out | 10 ++++++++++ test/simple/test-util-inspect.js | 2 -- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/test/message/stack_overflow.out b/test/message/stack_overflow.out index 72dc019ff1a..fac1be3c394 100644 --- a/test/message/stack_overflow.out +++ b/test/message/stack_overflow.out @@ -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) diff --git a/test/simple/test-util-inspect.js b/test/simple/test-util-inspect.js index 7761d174298..0b04c93c73d 100644 --- a/test/simple/test-util-inspect.js +++ b/test/simple/test-util-inspect.js @@ -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: