Skip to content

Commit

Permalink
test: fixing the wordwrap in test-cluster-dgram-reuse
Browse files Browse the repository at this point in the history
Fixes the wordwrap error of my last commit based on the guidelines
  • Loading branch information
orafaelfragoso committed Apr 15, 2017
1 parent 43bce0a commit 7ddb093
Showing 1 changed file with 2 additions and 1 deletion.
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);
});

0 comments on commit 7ddb093

Please sign in to comment.