From 6f81a2425ba1ea84829aeac3369b504f0b282c95 Mon Sep 17 00:00:00 2001 From: treysis Date: Sat, 4 Sep 2021 18:01:40 +0200 Subject: [PATCH] dns: fix lint error in test-net-pingpong.js 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/pummel/test-net-pingpong.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pummel/test-net-pingpong.js b/test/pummel/test-net-pingpong.js index ac65e32af3c67b..09b30405da5a39 100644 --- a/test/pummel/test-net-pingpong.js +++ b/test/pummel/test-net-pingpong.js @@ -38,8 +38,8 @@ function pingPongTest(host, on_complete) { if (host === '127.0.0.1') { assert.strictEqual(address, '127.0.0.1'); } else if (host == null || host === 'localhost') { - assert(address === '127.0.0.1' || address === '::ffff:127.0.0.1' - || address === '::1'); + assert(address === '127.0.0.1' || address === '::ffff:127.0.0.1' || + address === '::1'); } else { console.log(`host = ${host}, remoteAddress = ${address}`); assert.strictEqual(address, '::1');