summaryrefslogtreecommitdiff
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.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/parallel/test-async-wrap-uncaughtexception.js b/test/parallel/test-async-wrap-uncaughtexception.js
index f5f81f1005..9427e2fb78 100644
--- a/test/parallel/test-async-wrap-uncaughtexception.js
+++ b/test/parallel/test-async-wrap-uncaughtexception.js
@@ -1,10 +1,9 @@
'use strict';
const common = require('../common');
-if (!common.hasCrypto) {
+if (!common.hasCrypto)
common.skip('missing crypto');
- return;
-}
+
const assert = require('assert');
const async_hooks = require('async_hooks');
const call_log = [0, 0, 0, 0]; // [before, callback, exception, after];