diff --git a/test/parallel/test-dgram-send-callback-recursive.js b/test/parallel/test-dgram-send-callback-recursive.js index ce9d95dce7fe33..835fa332dfbe4d 100644 --- a/test/parallel/test-dgram-send-callback-recursive.js +++ b/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();