Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e7b5187

Browse files
jamesgeorge007targos
authored andcommittedNov 27, 2018
test: convert callback to arrow function
PR-URL: #24513 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 8c4d41d commit e7b5187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/pummel/test-net-pause.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const server = net.createServer((connection) => {
4545
server.on('listening', () => {
4646
const client = net.createConnection(common.PORT);
4747
client.setEncoding('ascii');
48-
client.on('data', function(d) {
48+
client.on('data', (d) => {
4949
console.log(d);
5050
recv += d;
5151
});

0 commit comments

Comments
 (0)
Please sign in to comment.