aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-async-wrap-uncaughtexception.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-async-wrap-uncaughtexception.js')
-rw-r--r--test/parallel/test-async-wrap-uncaughtexception.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-async-wrap-uncaughtexception.js b/test/parallel/test-async-wrap-uncaughtexception.js
index 9427e2fb78..37557b4aac 100644
--- a/test/parallel/test-async-wrap-uncaughtexception.js
+++ b/test/parallel/test-async-wrap-uncaughtexception.js
@@ -42,5 +42,5 @@ process.on('uncaughtException', common.mustCall(() => {
require('crypto').randomBytes(1, common.mustCall(() => {
assert.strictEqual(call_id, async_hooks.executionAsyncId());
call_log[1]++;
- throw new Error('ah crap');
+ throw new Error();
}));