Skip to content

Commit edb19b5

Browse files
treysisnodejs-github-bot
authored andcommitted
dns: fix lint errors
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]>
1 parent 89ba902 commit edb19b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-net-dns-lookup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ server.listen(0, common.mustCall(function() {
3434
.on('lookup', common.mustCall(function(err, ip, type, host) {
3535
assert.strictEqual(err, null);
3636
assert.strictEqual(ip, '127.0.0.1');
37-
assert.match(ip,/^(127\.0\.0\.1|::1)$/);
37+
assert.match(ip, /^(127\.0\.0\.1|::1)$/);
3838
assert.match(type.toString, /^(4|6)$/);
3939
assert.strictEqual(host, 'localhost');
4040
}));

0 commit comments

Comments
 (0)