Skip to content
Permalink
Browse files

test: replace anonymous closure function with arrow function

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 17, 2018
1 parent b1622a2 commit 7d743e659d4e3bdf774205fe0e6abcda25e6d2d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-dgram-send-callback-recursive.js
@@ -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();

0 comments on commit 7d743e6

Please sign in to comment.
You can’t perform that action at this time.