diff options
Diffstat (limited to 'test/parallel/test-dgram-multicast-setTTL.js')
-rw-r--r-- | test/parallel/test-dgram-multicast-setTTL.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-dgram-multicast-setTTL.js b/test/parallel/test-dgram-multicast-setTTL.js index 8cfa759ad9..2e3aad63fe 100644 --- a/test/parallel/test-dgram-multicast-setTTL.js +++ b/test/parallel/test-dgram-multicast-setTTL.js @@ -30,7 +30,7 @@ socket.on('listening', common.mustCall(() => { const result = socket.setMulticastTTL(16); assert.strictEqual(result, 16); - //Try to set an invalid TTL (valid ttl is > 0 and < 256) + // Try to set an invalid TTL (valid ttl is > 0 and < 256) assert.throws(() => { socket.setMulticastTTL(1000); }, /^Error: setMulticastTTL EINVAL$/); @@ -43,6 +43,6 @@ socket.on('listening', common.mustCall(() => { message: 'The "ttl" argument must be of type number. Received type string' }); - //close the socket + // Close the socket socket.close(); })); |