Skip to content

Commit

Permalink
test: fix comment about DNS lookup test
Browse files Browse the repository at this point in the history
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 ruyadorno committed Sep 17, 2020
1 parent 1cf9934 commit bc38485
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/parallel/test-c-ares.js
Original file line number Diff line number Diff line change
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 bc38485

Please sign in to comment.