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 codebytere committed Jan 29, 2019
1 parent 4a16a4d commit f129e2c
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 f129e2c

Please sign in to comment.