0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Julien Gilli a198c68b56 repl: make 'Unexpected token' errors recoverable
Fix the regexp used to detect 'Unexpected token' errors so that they can
be considered as recoverable. This fixes the following use case:

> var foo = 'bar \
... baz';
undefined
> foo
'bar baz'
>

Fixes: https://github.com/joyent/node/issues/8874
PR-URL: https://github.com/joyent/node/pull/8875
PR-URL: https://github.com/nodejs/io.js/pull/2052
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-06-25 12:17:51 -04:00
..
addons test: remove smalloc add-on test 2015-06-01 23:17:52 +02:00
cctest deps: check in gtest, add util unit test 2015-04-01 22:35:56 +02:00
debugger debugger: improve ESRCH error message 2015-06-05 05:54:19 +02:00
disabled test: enable linting for tests 2015-05-19 21:21:27 +02:00
fixtures crypto: add cert check to CNNIC Whitelist 2015-06-16 23:26:29 +09:00
gc test: enable linting for tests 2015-05-19 21:21:27 +02:00
internet crypto: add cert check to CNNIC Whitelist 2015-06-16 23:26:29 +09:00
message test: remove stray copyright notices 2015-05-26 17:17:40 +02:00
parallel repl: make 'Unexpected token' errors recoverable 2015-06-25 12:17:51 -04:00
pummel lib,test: fix whitespace issues 2015-06-15 16:37:37 +02:00
sequential lib,test: fix whitespace issues 2015-06-15 16:37:37 +02:00
testpy test: create temp dir in common.js 2015-06-12 10:27:29 +10:00
timers test: enable linting for tests 2015-05-19 21:21:27 +02:00
.eslintrc tools: enable/add additional eslint rules 2015-06-11 20:27:35 +02:00
common.js test: tmpdir creation failures should fail tests 2015-06-16 17:19:19 -07:00