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: nodejs#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 joesepi committed Oct 22, 2020
1 parent 5f51fcb commit 7b75cde
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);
})().then(common.mustCall());

// 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 7b75cde

Please sign in to comment.