Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test: fix comment about DNS lookup test
PR-URL: #35080
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
tniessen authored and MylesBorins committed Nov 16, 2020
1 parent 44c739c commit 607f3c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/parallel/test-c-ares.js
Expand Up @@ -42,8 +42,7 @@ const dnsPromises = dns.promises;
assert.strictEqual(res.family, 6);
})();

// Try resolution without callback

// Try resolution without hostname.
dns.lookup(null, common.mustCall((error, result, addressType) => {
assert.ifError(error);
assert.strictEqual(result, null);
Expand Down

0 comments on commit 607f3c5

Please sign in to comment.