summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-connect.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-tls-connect.js')
-rw-r--r--test/parallel/test-tls-connect.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-tls-connect.js b/test/parallel/test-tls-connect.js
index e3bb662d7c..1908dba657 100644
--- a/test/parallel/test-tls-connect.js
+++ b/test/parallel/test-tls-connect.js
@@ -40,7 +40,7 @@ const path = require('path');
const options = {cert: cert, key: key, port: common.PORT};
const conn = tls.connect(options, common.mustNotCall());
- conn.on('error', common.mustCall(function() {}));
+ conn.on('error', common.mustCall());
}
// SSL_accept/SSL_connect error handling
@@ -55,5 +55,5 @@ const path = require('path');
ciphers: 'rick-128-roll'
}, common.mustNotCall());
- conn.on('error', common.mustCall(function() {}));
+ conn.on('error', common.mustCall());
}