diff --git a/test/parallel/test-repl-unexpected-token-recoverable.js b/test/parallel/test-repl-unexpected-token-recoverable.js index 888ee81bd4e62a..2461d8f62bd2c8 100644 --- a/test/parallel/test-repl-unexpected-token-recoverable.js +++ b/test/parallel/test-repl-unexpected-token-recoverable.js @@ -10,7 +10,7 @@ const spawn = require('child_process').spawn; const args = [ '-i' ]; const child = spawn(process.execPath, args); -const input = 'var foo = "bar\\\nbaz"'; +const input = 'const foo = "bar\\\nbaz"'; // Match '...' as well since it marks a multi-line statement const expectOut = /> \.\.\. undefined\n/;