projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64a06c5
)
Revert "Fixes #1267."
author
Ryan Dahl
<ry@tinyclouds.org>
Tue, 5 Jul 2011 23:40:13 +0000
(16:40 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Tue, 5 Jul 2011 23:40:13 +0000
(16:40 -0700)
Revert due to V8 downgrade.
This reverts commit
04c916989291ccc28fb2a8230e4013f97cc9799d
.
test/simple/test-repl.js
patch
|
blob
|
history
diff --git
a/test/simple/test-repl.js
b/test/simple/test-repl.js
index
c862d11
..
3183fa1
100644
(file)
--- a/
test/simple/test-repl.js
+++ b/
test/simple/test-repl.js
@@
-118,7
+118,7
@@
function error_test() {
// invalid input to JSON.parse error is special case of syntax error,
// should throw
{ client: client_unix, send: 'JSON.parse(\'{invalid: \\\'json\\\'}\');',
- expect: /^SyntaxError: Unexpected token
i
/ },
+ expect: /^SyntaxError: Unexpected token
ILLEGAL
/ },
// Named functions can be used:
{ client: client_unix, send: 'function blah() { return 1; }',
expect: prompt_unix },