Skip to content

Commit

Permalink
test: replace anonymous closure function with arrow function
Browse files Browse the repository at this point in the history
PR-URL: #24435
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Ouyang Yadong <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
snofty authored and rvagg committed Nov 28, 2018
1 parent b1622a2 commit 7d743e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-dgram-send-callback-recursive.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ client.on('listening', function() {
onsend();
});

client.on('message', function(buf, info) {
client.on('message', (buf, info) => {
received++;
if (received === limit) {
client.close();
Expand Down

0 comments on commit 7d743e6

Please sign in to comment.