Skip to content

Commit

Permalink
test: fix error messages after v8 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Oct 11, 2014
1 parent e43c109 commit a48583e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions test/message/vm_dont_display_runtime_error.out
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
beginning
middle

vm.js:*
return script.runInThisContext(options);
^
test.vm:1
throw new Error("boo!")
^
Error: boo!
at test.vm:1:7
at Object.exports.runInThisContext (vm.js:*)
Expand Down
7 changes: 3 additions & 4 deletions test/message/vm_dont_display_syntax_error.out
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
beginning
middle

vm.js:*
var script = new Script(code, options);
^
test.vm:1
var 5;
^
SyntaxError: Unexpected number
at Object.exports.runInThisContext (vm.js:*)
at Object.<anonymous> (*test*message*vm_dont_display_syntax_error.js:*)
Expand Down

0 comments on commit a48583e

Please sign in to comment.