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 Trott committed Nov 20, 2018
1 parent f86b7a9 commit 8e4688a
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 8e4688a

Please sign in to comment.