summaryrefslogtreecommitdiff
path: root/test/parallel/test-crypto-from-binary.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-crypto-from-binary.js')
-rw-r--r--test/parallel/test-crypto-from-binary.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/parallel/test-crypto-from-binary.js b/test/parallel/test-crypto-from-binary.js
index 785fff4388..ed1be9b315 100644
--- a/test/parallel/test-crypto-from-binary.js
+++ b/test/parallel/test-crypto-from-binary.js
@@ -25,12 +25,10 @@
const common = require('../common');
-const assert = require('assert');
-
-if (!common.hasCrypto) {
+if (!common.hasCrypto)
common.skip('missing crypto');
- return;
-}
+
+const assert = require('assert');
const crypto = require('crypto');
const EXTERN_APEX = 0xFBEE9;