| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9265027 commit ea1183c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -91,7 +91,7 @@ TEST(async function test_resolve4_ttl(done) { | |||
| 91 | 91 | assert.strictEqual(typeof item, 'object'); | |
| 92 | 92 | assert.strictEqual(typeof item.ttl, 'number'); | |
| 93 | 93 | assert.strictEqual(typeof item.address, 'string'); | |
| 94 | - assert.ok(item.ttl > 0); | ||
| 94 | + assert.ok(item.ttl >= 0); | ||
| 95 | 95 | assert.ok(isIPv4(item.address)); | |
| 96 | 96 | } | |
| 97 | 97 | } | |
@@ -119,7 +119,7 @@ TEST(async function test_resolve6_ttl(done) { | |||
| 119 | 119 | assert.strictEqual(typeof item, 'object'); | |
| 120 | 120 | assert.strictEqual(typeof item.ttl, 'number'); | |
| 121 | 121 | assert.strictEqual(typeof item.address, 'string'); | |
| 122 | - assert.ok(item.ttl > 0); | ||
| 122 | + assert.ok(item.ttl >= 0); | ||
| 123 | 123 | assert.ok(isIPv6(item.address)); | |
| 124 | 124 | } | |
| 125 | 125 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments