summaryrefslogtreecommitdiff
path: root/test/parallel/test-repl-harmony.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-09-23 19:38:12 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2019-12-06 02:10:58 +0100
commit6c40cb2aca89df4c7c0e3923d93024734dd49f2d (patch)
treeceb06cf66682bc843e8e0953cd8092a1179c46b5 /test/parallel/test-repl-harmony.js
parent51ccf1b5e90540a11c33866da15d4a7f52d7fddb (diff)
downloadandroid-node-v8-6c40cb2aca89df4c7c0e3923d93024734dd49f2d.tar.gz
android-node-v8-6c40cb2aca89df4c7c0e3923d93024734dd49f2d.tar.bz2
android-node-v8-6c40cb2aca89df4c7c0e3923d93024734dd49f2d.zip
repl: use better uncaught exceptions indicator
This switches "Thrown:" with "Uncaught" to outline clearer that the thrown error is not caught. PR-URL: https://github.com/nodejs/node/pull/29676 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com>
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) => {