Skip to content

Commit b210dc2

Browse files
test: convert callback to arrow function
add newline at EOF 👍 Add EOF 👍 fix 👍 fix 👍 fix 👍
1 parent 9389b46 commit b210dc2

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)