diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2013-01-01 16:06:28 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2013-01-02 12:13:47 +0400 |
commit | 8a96bb42c6d100327f505b01f8ad5aba8c4b7c66 (patch) | |
tree | e9e30373423b2c72f4a73c67b80680b05c86aaa0 /test | |
parent | 5e57bcc3cee41a666f05e5e4ffd1b76e18b66282 (diff) | |
download | node-new-8a96bb42c6d100327f505b01f8ad5aba8c4b7c66.tar.gz |
test: make tests work with newer v8
Diffstat (limited to 'test')
-rw-r--r-- | test/message/stack_overflow.out | 10 | ||||
-rw-r--r-- | 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 72dc019ff1..fac1be3c39 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 7761d17429..0b04c93c73 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: |