Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dns: fix test suite, part 4
  • Loading branch information
treysis committed Sep 4, 2021
commit 82af5ec842e11c62bd1956aaa6c8ead654f084b4
1 change: 0 additions & 1 deletion test/parallel/test-net-dns-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ server.listen(0, common.mustCall(function() {
net.connect(this.address().port, 'localhost')
.on('lookup', common.mustCall(function(err, ip, type, host) {
assert.strictEqual(err, null);
assert.strictEqual(ip, '127.0.0.1');
assert.match(ip, /^(127\.0\.0\.1|::1)$/);
assert.match(type.toString, /^(4|6)$/);
assert.strictEqual(host, 'localhost');
Expand Down