summaryrefslogtreecommitdiff
path: root/test/parallel/test-repl-harmony.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-repl-harmony.js')
-rw-r--r--test/parallel/test-repl-harmony.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-repl-harmony.js b/test/parallel/test-repl-harmony.js
index 0aa8e56bdd..88b2c9deca 100644
--- a/test/parallel/test-repl-harmony.js
+++ b/test/parallel/test-repl-harmony.js
@@ -30,7 +30,7 @@ const child = spawn(process.execPath, args);
const input = '(function(){"use strict"; const y=1;y=2})()\n';
// This message will vary based on JavaScript engine, so don't check the message
// contents beyond confirming that the `Error` is a `TypeError`.
-const expectOut = /> Thrown:\nTypeError: /;
+const expectOut = /> Uncaught TypeError: /;
child.stderr.setEncoding('utf8');
child.stderr.on('data', (d) => {