diff options
author | Rich Trott <rtrott@gmail.com> | 2018-11-14 11:09:57 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-16 11:17:30 -0800 |
commit | b7e9804c90ec1b834e88279ce06725c9dd9156a8 (patch) | |
tree | 6ec914a2aaa4e3fb66e48ef336fa28daa08a9837 /test/async-hooks/test-getaddrinforeqwrap.js | |
parent | e1aa7301b4118a92a8f056d1bc02e6069886a913 (diff) | |
download | android-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.js | 2 |
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); |