GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: fixup failing test/internet/test-dns.js · nodejs/node@ea1183c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/internet
    • test-dns.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/internet/test-dns.js‎

Copy file name to clipboardExpand all lines: test/internet/test-dns.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ TEST(async function test_resolve4_ttl(done) {
9191
assert.strictEqual(typeof item, 'object');
9292
assert.strictEqual(typeof item.ttl, 'number');
9393
assert.strictEqual(typeof item.address, 'string');
94-
assert.ok(item.ttl > 0);
94+
assert.ok(item.ttl >= 0);
9595
assert.ok(isIPv4(item.address));
9696
}
9797
}
@@ -119,7 +119,7 @@ TEST(async function test_resolve6_ttl(done) {
119119
assert.strictEqual(typeof item, 'object');
120120
assert.strictEqual(typeof item.ttl, 'number');
121121
assert.strictEqual(typeof item.address, 'string');
122-
assert.ok(item.ttl > 0);
122+
assert.ok(item.ttl >= 0);
123123
assert.ok(isIPv6(item.address));
124124
}
125125
}

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.