We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64a06c5 commit 8b2f5afCopy full SHA for 8b2f5af
test/simple/test-repl.js
@@ -118,7 +118,7 @@ function error_test() {
118
// invalid input to JSON.parse error is special case of syntax error,
119
// should throw
120
{ client: client_unix, send: 'JSON.parse(\'{invalid: \\\'json\\\'}\');',
121
- expect: /^SyntaxError: Unexpected token i/ },
+ expect: /^SyntaxError: Unexpected token ILLEGAL/ },
122
// Named functions can be used:
123
{ client: client_unix, send: 'function blah() { return 1; }',
124
expect: prompt_unix },
0 commit comments