Skip to content

Commit 6f81a24

Browse files
treysisnodejs-github-bot
authored andcommitted
dns: fix lint error in test-net-pingpong.js
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 cc29fe6 commit 6f81a24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pummel/test-net-pingpong.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ function pingPongTest(host, on_complete) {
3838
if (host === '127.0.0.1') {
3939
assert.strictEqual(address, '127.0.0.1');
4040
} else if (host == null || host === 'localhost') {
41-
assert(address === '127.0.0.1' || address === '::ffff:127.0.0.1'
42-
|| address === '::1');
41+
assert(address === '127.0.0.1' || address === '::ffff:127.0.0.1' ||
42+
address === '::1');
4343
} else {
4444
console.log(`host = ${host}, remoteAddress = ${address}`);
4545
assert.strictEqual(address, '::1');

0 commit comments

Comments
 (0)