Skip to content

Commit bc38485

Browse files
tniessenruyadorno
authored andcommitted
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>
1 parent 1cf9934 commit bc38485

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/parallel/test-c-ares.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ const dnsPromises = dns.promises;
4242
assert.strictEqual(res.family, 6);
4343
})();
4444

45-
// Try resolution without callback
46-
45+
// Try resolution without hostname.
4746
dns.lookup(null, common.mustCall((error, result, addressType) => {
4847
assert.ifError(error);
4948
assert.strictEqual(result, null);

0 commit comments

Comments
 (0)