From 12d33c90c3eb123321865ee4ec3c131ac12a7bdb Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 15 Jul 2026 11:09:21 -0700 Subject: [PATCH] test: apply correction to comment The subsequent test checks for an invalid groupAddress, not sourceAddress as the comment say. Adjust the comment to correctly reflect what the test does. Signed-off-by: Rich Trott --- test/parallel/test-dgram-membership.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-dgram-membership.js b/test/parallel/test-dgram-membership.js index ebfdaa9cb6325f..052deb92d61197 100644 --- a/test/parallel/test-dgram-membership.js +++ b/test/parallel/test-dgram-membership.js @@ -90,7 +90,7 @@ const setup = dgram.createSocket.bind(dgram, { type: 'udp4', reuseAddr: true }); socket.close(); } -// addSourceSpecificMembership with invalid sourceAddress should throw +// addSourceSpecificMembership with invalid groupAddress should throw { const socket = setup(); assert.throws(() => {