| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 44c739c commit 607f3c5
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,8 +42,7 @@ const dnsPromises = dns.promises; | |||
| 42 | 42 | assert.strictEqual(res.family, 6); | |
| 43 | 43 | })(); | |
| 44 | 44 | ||
| 45 | - // Try resolution without callback | ||
| 46 | - | ||
| 45 | + // Try resolution without hostname. | ||
| 47 | 46 | dns.lookup(null, common.mustCall((error, result, addressType) => { | |
| 48 | 47 | assert.ifError(error); | |
| 49 | 48 | assert.strictEqual(result, null); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments