Revert "Fixes #1267."

Revert due to V8 downgrade.

This reverts commit 04c9169892.
pull/22966/head
Ryan Dahl 2011-07-05 16:40:13 -07:00
parent 64a06c5ffd
commit 8b2f5af2a0
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ function error_test() {
// invalid input to JSON.parse error is special case of syntax error, // invalid input to JSON.parse error is special case of syntax error,
// should throw // should throw
{ client: client_unix, send: 'JSON.parse(\'{invalid: \\\'json\\\'}\');', { client: client_unix, send: 'JSON.parse(\'{invalid: \\\'json\\\'}\');',
expect: /^SyntaxError: Unexpected token i/ }, expect: /^SyntaxError: Unexpected token ILLEGAL/ },
// Named functions can be used: // Named functions can be used:
{ client: client_unix, send: 'function blah() { return 1; }', { client: client_unix, send: 'function blah() { return 1; }',
expect: prompt_unix }, expect: prompt_unix },