summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-destroy-whilst-write.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-tls-destroy-whilst-write.js')
-rw-r--r--test/parallel/test-tls-destroy-whilst-write.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/parallel/test-tls-destroy-whilst-write.js b/test/parallel/test-tls-destroy-whilst-write.js
index b4f9766d99..d157c7bf3f 100644
--- a/test/parallel/test-tls-destroy-whilst-write.js
+++ b/test/parallel/test-tls-destroy-whilst-write.js
@@ -1,10 +1,9 @@
'use strict';
const common = require('../common');
-if (!common.hasCrypto) {
+if (!common.hasCrypto)
common.skip('missing crypto');
- return;
-}
+
const tls = require('tls');
const stream = require('stream');