Skip to content

Commit f129e2c

Browse files
snoftycodebytere
authored andcommitted
test: replace anonymous closure function with arrow function
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]>
1 parent 4a16a4d commit f129e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-dgram-send-callback-recursive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ client.on('listening', function() {
2929
onsend();
3030
});
3131

32-
client.on('message', function(buf, info) {
32+
client.on('message', (buf, info) => {
3333
received++;
3434
if (received === limit) {
3535
client.close();

0 commit comments

Comments
 (0)