summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-delayed-attach-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-tls-delayed-attach-error.js')
-rw-r--r--test/parallel/test-tls-delayed-attach-error.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-tls-delayed-attach-error.js b/test/parallel/test-tls-delayed-attach-error.js
index 47be3f201b..a4f88fd8a2 100644
--- a/test/parallel/test-tls-delayed-attach-error.js
+++ b/test/parallel/test-tls-delayed-attach-error.js
@@ -23,7 +23,7 @@ const server = net.createServer(common.mustCall(function(c) {
secureContext: tls.createSecureContext(options)
});
- s.on('_tlsError', common.mustCall(function() {}));
+ s.on('_tlsError', common.mustCall());
s.on('close', function() {
server.close();