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:
Tobias Nießen authored and Ruy Adorno committed 2020-09-17 10:36:38 -04:00
1 parent 1cf9934e4e
commit bc38485fb1
1 file changed
+1 -2
+1 -2
View File
@@ -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);