mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
REPL tests based on direct interaction with input and output stream. Includes multiline tests.
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
rli.prompt(true);
|
||||
return;
|
||||
}
|
||||
if (!rli.line.match(/^\s*$/)) {
|
||||
if (!((rli.line == null) || rli.line.match(/^\s*$/))) {
|
||||
return;
|
||||
}
|
||||
multiline.enabled = !multiline.enabled;
|
||||
|
||||
Reference in New Issue
Block a user