Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: fixing the wordwrap in test-cluster-dgram-reuse
Fixes the wordwrap error of my last commit based on the guidelines
  • Loading branch information
orafaelfragoso committed Apr 15, 2017
commit 7ddb0932d1827592cf64868166b2d5affd55d0c4
3 changes: 2 additions & 1 deletion test/parallel/test-cluster-dgram-reuse.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ const socket = dgram.createSocket({ type: 'udp4', reuseAddr: true });
// Let the OS assign a random port to the first socket
socket.bind(0, function() {
// Creates the second socket using the same port from the previous one
dgram.createSocket({ type: 'udp4', reuseAddr: true }).bind(socket.address().port, next);
dgram.createSocket({ type: 'udp4', reuseAddr: true })
.bind(socket.address().port, next);
// Call next for the first socket
next.call(this);
});