Skip to content

Commit

Permalink
test: convert callback to arrow function
Browse files Browse the repository at this point in the history
PR-URL: #24513
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
jamesgeorge007 authored and rvagg committed Feb 28, 2019
1 parent 5d34cea commit c779ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pummel/test-net-pause.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const server = net.createServer((connection) => {
server.on('listening', () => {
const client = net.createConnection(common.PORT);
client.setEncoding('ascii');
client.on('data', function(d) {
client.on('data', (d) => {
console.log(d);
recv += d;
});
Expand Down

0 comments on commit c779ca0

Please sign in to comment.