Skip to content

Commit 1740f70

Browse files
committed
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.
1 parent 34c28d5 commit 1740f70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-dgram-membership.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const setup = dgram.createSocket.bind(dgram, { type: 'udp4', reuseAddr: true });
9090
socket.close();
9191
}
9292

93-
// addSourceSpecificMembership with invalid sourceAddress should throw
93+
// addSourceSpecificMembership with invalid groupAddress should throw
9494
{
9595
const socket = setup();
9696
assert.throws(() => {

0 commit comments

Comments
 (0)