Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 987df27

Browse filesBrowse files
Trottcodebytere
authored andcommitted
test: remove unused function arguments in async-hooks tests
Remove unused function arguments in two async-hooks tests. PR-URL: #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>
1 parent c84b420 commit 987df27
Copy full SHA for 987df27

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎test/async-hooks/test-getaddrinforeqwrap.js‎

Copy file name to clipboardExpand all lines: test/async-hooks/test-getaddrinforeqwrap.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const hooks = initHooks();
1414

1515
hooks.enable();
1616
dns.lookup('www.google.com', 4, common.mustCall(onlookup));
17-
function onlookup(err_, ip, family) {
17+
function onlookup() {
1818
// we don't care about the error here in order to allow
1919
// tests to run offline (lookup will fail in that case and the err be set);
2020

Collapse file

‎test/async-hooks/test-getnameinforeqwrap.js‎

Copy file name to clipboardExpand all lines: test/async-hooks/test-getnameinforeqwrap.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const hooks = initHooks();
1414

1515
hooks.enable();
1616
dns.lookupService('127.0.0.1', 80, common.mustCall(onlookupService));
17-
function onlookupService(err_, ip, family) {
17+
function onlookupService() {
1818
// we don't care about the error here in order to allow
1919
// tests to run offline (lookup will fail in that case and the err be set)
2020

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.