summaryrefslogtreecommitdiff
path: root/test/async-hooks/test-getaddrinforeqwrap.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-11-14 11:09:57 -0800
committerRich Trott <rtrott@gmail.com>2018-11-16 11:17:30 -0800
commitb7e9804c90ec1b834e88279ce06725c9dd9156a8 (patch)
tree6ec914a2aaa4e3fb66e48ef336fa28daa08a9837 /test/async-hooks/test-getaddrinforeqwrap.js
parente1aa7301b4118a92a8f056d1bc02e6069886a913 (diff)
downloadandroid-node-v8-b7e9804c90ec1b834e88279ce06725c9dd9156a8.tar.gz
android-node-v8-b7e9804c90ec1b834e88279ce06725c9dd9156a8.tar.bz2
android-node-v8-b7e9804c90ec1b834e88279ce06725c9dd9156a8.zip
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>
Diffstat (limited to 'test/async-hooks/test-getaddrinforeqwrap.js')
-rw-r--r--test/async-hooks/test-getaddrinforeqwrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/async-hooks/test-getaddrinforeqwrap.js b/test/async-hooks/test-getaddrinforeqwrap.js
index 0cd6ff3967..f2a978d764 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);