Browse Source

Fix message tests

V8 3.4.12.1 changed exception log format.

3.14.10:
node.js:189
        throw e; // process.nextTick error, or 'error' event on first tick
        ^

3.4.12.1:
node.js:189
        throw e; // process.nextTick error, or 'error' event on first tick
              ^

The caret was moved.
v0.7.4-release
koichik 14 years ago
parent
commit
4662ace916
  1. 2
      test/message/stack_overflow.out
  2. 2
      test/message/throw_custom_error.out
  3. 2
      test/message/throw_non_error.out
  4. 2
      test/message/undefined_reference_in_new_context.out

2
test/message/stack_overflow.out

@ -2,5 +2,5 @@ before
node.js:*
throw e; // process.nextTick error, or 'error' event on first tick
^
^
RangeError: Maximum call stack size exceeded

2
test/message/throw_custom_error.out

@ -2,5 +2,5 @@ before
node.js:*
throw e; // process.nextTick error, or 'error' event on first tick
^
^
MyCustomError: This is a custom message

2
test/message/throw_non_error.out

@ -2,5 +2,5 @@ before
node.js:*
throw e; // process.nextTick error, or 'error' event on first tick
^
^
[object Object]

2
test/message/undefined_reference_in_new_context.out

@ -2,7 +2,7 @@ before
node.js:*
throw e; // process.nextTick error, or 'error' event on first tick
^
^
ReferenceError: foo is not defined
at evalmachine.<anonymous>:*
at Object.<anonymous> (*test*message*undefined_reference_in_new_context.js:*)

Loading…
Cancel
Save