Skip to content

Commit

Permalink
dns: fix lint errors
Browse files Browse the repository at this point in the history
PR-URL: #39987
Fixes: #31566
Refs: #6307
Refs: #20710
Refs: #38099
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
treysis authored and nodejs-github-bot committed Sep 12, 2021
1 parent 89ba902 commit edb19b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-net-dns-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ server.listen(0, common.mustCall(function() {
.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(ip, /^(127\.0\.0\.1|::1)$/);
assert.match(type.toString, /^(4|6)$/);
assert.strictEqual(host, 'localhost');
}));
Expand Down

0 comments on commit edb19b5

Please sign in to comment.