Skip to content

Commit 8a80e5d

Browse files
treysisnodejs-github-bot
authored andcommitted
dns: apply suggestions from code review
Co-authored-by: Antoine du Hamel <[email protected]> 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 7ee438c commit 8a80e5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-net-remote-address-port.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ const remoteFamilyCandidates = ['IPv4', 'IPv6'];
3535

3636
const server = net.createServer(common.mustCall(function(socket) {
3737
assert.ok(remoteAddrCandidates.includes(socket.remoteAddress),
38-
`Illformed remoteAddress: ${socket.remoteAddress}`);
38+
`Invalid remoteAddress: ${socket.remoteAddress}`);
3939
assert.ok(remoteFamilyCandidates.includes(socket.remoteFamily),
40-
`Illformed remoteFamily: ${socket.remoteFamily}`);
40+
`Invalid remoteFamily: ${socket.remoteFamily}`);
4141
assert.ok(socket.remotePort);
4242
assert.notStrictEqual(socket.remotePort, this.address().port);
4343
socket.on('end', function() {

0 commit comments

Comments
 (0)