GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: remove unused function arguments in async-hooks tests · nodejs/node@ee64ae0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/async-hooks
    • test-getaddrinforeqwrap.js
    • test-getnameinforeqwrap.js
Expand file treeCollapse file tree
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)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.