aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-repl-definecommand.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-repl-definecommand.js')
-rw-r--r--test/parallel/test-repl-definecommand.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/parallel/test-repl-definecommand.js b/test/parallel/test-repl-definecommand.js
index 07732d534e..f879043b94 100644
--- a/test/parallel/test-repl-definecommand.js
+++ b/test/parallel/test-repl-definecommand.js
@@ -35,8 +35,9 @@ r.defineCommand('say2', function() {
});
inputStream.write('.help\n');
-assert(/\n.say1 help for say1\n/.test(output), 'help for say1 not present');
-assert(/\n.say2\n/.test(output), 'help for say2 not present');
+assert(/\n\.say1 help for say1\n/.test(output),
+ 'help for say1 not present');
+assert(/\n\.say2\n/.test(output), 'help for say2 not present');
inputStream.write('.say1 node developer\n');
assert(/> hello node developer/.test(output), 'say1 outputted incorrectly');
inputStream.write('.say2 node developer\n');