From 291ac6418a55228f1c5e75f7b69a7cd326cdaf0f Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 14 Nov 2018 11:09:57 -0800 Subject: [PATCH] test: remove unused function arguments in async-hooks tests Remove unused function arguments in two async-hooks tests. --- test/async-hooks/test-getaddrinforeqwrap.js | 2 +- test/async-hooks/test-getnameinforeqwrap.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/async-hooks/test-getaddrinforeqwrap.js b/test/async-hooks/test-getaddrinforeqwrap.js index 0cd6ff39676424..f2a978d7640677 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 50aa623458f41c..9e06cbf9cbf174 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)