mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: fix comment about DNS lookup test
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
1cf9934e4e
commit
bc38485fb1
1 file changed
+1
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user