summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-socket-failed-handshake-emits-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-tls-socket-failed-handshake-emits-error.js')
-rw-r--r--test/parallel/test-tls-socket-failed-handshake-emits-error.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/parallel/test-tls-socket-failed-handshake-emits-error.js b/test/parallel/test-tls-socket-failed-handshake-emits-error.js
index 106a14a7df..16175b8898 100644
--- a/test/parallel/test-tls-socket-failed-handshake-emits-error.js
+++ b/test/parallel/test-tls-socket-failed-handshake-emits-error.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 net = require('net');
const assert = require('assert');