diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js index 02ce8169caf3fe..2ec996897a1cae 100644 --- a/test/parallel/test-repl.js +++ b/test/parallel/test-repl.js @@ -156,7 +156,7 @@ function error_test() { expect: /^SyntaxError: Unexpected number/ }, // should throw { client: client_unix, send: 'JSON.parse(\'{\');', - expect: /^SyntaxError: Unexpected end of input/ }, + expect: /^SyntaxError: Unexpected end of JSON input/ }, // invalid RegExps are a special case of syntax error, // should throw { client: client_unix, send: '/(/;',