From 8a80e5d324ca6050c21abf8da671b85fe899d1dd Mon Sep 17 00:00:00 2001 From: treysis Date: Mon, 6 Sep 2021 01:35:46 +0200 Subject: [PATCH] dns: apply suggestions from code review Co-authored-by: Antoine du Hamel 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-remote-address-port.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-net-remote-address-port.js b/test/parallel/test-net-remote-address-port.js index 1a753bd9b106cf..f7162d0f90f933 100644 --- a/test/parallel/test-net-remote-address-port.js +++ b/test/parallel/test-net-remote-address-port.js @@ -35,9 +35,9 @@ const remoteFamilyCandidates = ['IPv4', 'IPv6']; const server = net.createServer(common.mustCall(function(socket) { assert.ok(remoteAddrCandidates.includes(socket.remoteAddress), - `Illformed remoteAddress: ${socket.remoteAddress}`); + `Invalid remoteAddress: ${socket.remoteAddress}`); assert.ok(remoteFamilyCandidates.includes(socket.remoteFamily), - `Illformed remoteFamily: ${socket.remoteFamily}`); + `Invalid remoteFamily: ${socket.remoteFamily}`); assert.ok(socket.remotePort); assert.notStrictEqual(socket.remotePort, this.address().port); socket.on('end', function() {