diff --git a/test/async-hooks/test-getaddrinforeqwrap.js b/test/async-hooks/test-getaddrinforeqwrap.js index 298c4931cce74e..bb5bf04849b477 100644 --- a/test/async-hooks/test-getaddrinforeqwrap.js +++ b/test/async-hooks/test-getaddrinforeqwrap.js @@ -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); diff --git a/test/async-hooks/test-getnameinforeqwrap.js b/test/async-hooks/test-getnameinforeqwrap.js index a32814e5b5df4a..f0425ee3dc8599 100644 --- a/test/async-hooks/test-getnameinforeqwrap.js +++ b/test/async-hooks/test-getnameinforeqwrap.js @@ -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)