summaryrefslogtreecommitdiff
path: root/test/parallel/test-crypto-hash-stream-pipe.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-crypto-hash-stream-pipe.js')
-rw-r--r--test/parallel/test-crypto-hash-stream-pipe.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/parallel/test-crypto-hash-stream-pipe.js b/test/parallel/test-crypto-hash-stream-pipe.js
index ee152dc028..0a240a2abb 100644
--- a/test/parallel/test-crypto-hash-stream-pipe.js
+++ b/test/parallel/test-crypto-hash-stream-pipe.js
@@ -22,10 +22,8 @@
'use strict';
const common = require('../common');
-if (!common.hasCrypto) {
+if (!common.hasCrypto)
common.skip('missing crypto');
- return;
-}
const assert = require('assert');
const crypto = require('crypto');