Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2022-10-18 15:13:41 +0300
committerGitHub <noreply@github.com>2022-10-18 15:13:41 +0300
commit6059cbedbd4d616448e855d99c373810975943d8 (patch)
treeb4942970d8f77a78c2006dbc155012b71739ef2d /test/sequential/test-tls-lookup.js
parent1a8f8ba6c6cab17301e3b8139f0fe09b52023ec3 (diff)
test: remove unnecessary noop function args to mustCall()
PR-URL: https://github.com/nodejs/node/pull/45027 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'test/sequential/test-tls-lookup.js')
-rw-r--r--test/sequential/test-tls-lookup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-tls-lookup.js b/test/sequential/test-tls-lookup.js
index dcdd9724e3c..dba39c17ab7 100644
--- a/test/sequential/test-tls-lookup.js
+++ b/test/sequential/test-tls-lookup.js
@@ -21,7 +21,7 @@ const tls = require('tls');
});
});
-connectDoesNotThrow(common.mustCall(() => {}));
+connectDoesNotThrow(common.mustCall());
function connectDoesNotThrow(input) {
const opts = {