Skip to content

Commit

Permalink
test: fix tests after V8 upgrade
Browse files Browse the repository at this point in the history
Some error messages have changed and the --debugger flag does
not exist in V8 anymore.
  • Loading branch information
targos committed Sep 26, 2015
1 parent f10f7ba commit 5718b45
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion test/message/vm_display_syntax_error.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ beginning

test.vm:1
var 5;
^^^
^
SyntaxError: Unexpected number
at Object.exports.runInThisContext (vm.js:*)
at Object.<anonymous> (*test*message*vm_display_syntax_error.js:*)
Expand Down
2 changes: 1 addition & 1 deletion test/message/vm_dont_display_syntax_error.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ beginning
middle
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
2 changes: 1 addition & 1 deletion test/parallel/test-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function error_test() {
{ client: client_unix, send: '(function() { "use strict"; return 0755; })()',
expect: /^SyntaxError: Octal literals are not allowed in strict mode/ },
{ client: client_unix, send: '(function(a, a, b) { "use strict"; return a + b + c; })()',
expect: /^SyntaxError: Strict mode function may not have duplicate parameter names/ },
expect: /^SyntaxError: Duplicate parameter name not allowed in this context/ },
{ client: client_unix, send: '(function() { "use strict"; with (this) {} })()',
expect: /^SyntaxError: Strict mode code may not include a with statement/ },
{ client: client_unix, send: '(function() { "use strict"; var x; delete x; })()',
Expand Down
7 changes: 0 additions & 7 deletions test/sequential/test-debug-args.js

This file was deleted.

0 comments on commit 5718b45

Please sign in to comment.