From edb19b52c9b1d3e00ff9bd1925f78a43058a5d5a Mon Sep 17 00:00:00 2001 From: treysis Date: Sat, 4 Sep 2021 18:15:38 +0200 Subject: [PATCH] dns: fix lint errors PR-URL: https://github.com/nodejs/node/pull/39987 Fixes: https://github.com/nodejs/node/issues/31566 Refs: https://github.com/nodejs/node/issues/6307 Refs: https://github.com/nodejs/node/pull/20710 Refs: https://github.com/nodejs/node/pull/38099 Reviewed-By: Antoine du Hamel Reviewed-By: Matteo Collina Reviewed-By: James M Snell Reviewed-By: Michael Dawson --- test/parallel/test-net-dns-lookup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-net-dns-lookup.js b/test/parallel/test-net-dns-lookup.js index 289a1563a52dbe..b5c80641f235b2 100644 --- a/test/parallel/test-net-dns-lookup.js +++ b/test/parallel/test-net-dns-lookup.js @@ -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'); }));