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 <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • 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.