test: remove unused function arguments in async-hooks tests

Remove unused function arguments in two async-hooks tests.

PR-URL: https://github.com/nodejs/node/pull/24368
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
This commit is contained in:
Rich Trott authored and Rod Vagg committed 2018-11-28 11:25:24 +11:00
1 parent 5d67eeca1a
commit ee64ae0f6d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ const hooks = initHooks();
hooks.enable();
dns.lookup('www.google.com', 4, common.mustCall(onlookup));
function onlookup(err_, ip, family) {
function onlookup() {
// we don't care about the error here in order to allow
// tests to run offline (lookup will fail in that case and the err be set);
+1 -1
View File
@@ -14,7 +14,7 @@ const hooks = initHooks();
hooks.enable();
dns.lookupService('127.0.0.1', 80, common.mustCall(onlookupService));
function onlookupService(err_, ip, family) {
function onlookupService() {
// we don't care about the error here in order to allow
// tests to run offline (lookup will fail in that case and the err be set)