summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-client-destroy-soon.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-tls-client-destroy-soon.js')
-rw-r--r--test/parallel/test-tls-client-destroy-soon.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/parallel/test-tls-client-destroy-soon.js b/test/parallel/test-tls-client-destroy-soon.js
index 8d1f3e9023..a94e8fbdb9 100644
--- a/test/parallel/test-tls-client-destroy-soon.js
+++ b/test/parallel/test-tls-client-destroy-soon.js
@@ -25,14 +25,11 @@
// ASSERT resumption.
const common = require('../common');
-const assert = require('assert');
-
-if (!common.hasCrypto) {
+if (!common.hasCrypto)
common.skip('missing crypto');
- return;
-}
-const tls = require('tls');
+const assert = require('assert');
+const tls = require('tls');
const fs = require('fs');
const options = {