Skip to content

Commit ee74c81

Browse files
committed
test: revert arrow function for echoServer.on
1 parent b5a8c7f commit ee74c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-net-persistent-ref-unref.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ TCPWrap.prototype.unref = function() {
2929

3030
echoServer.listen(0);
3131

32-
echoServer.on('listening', () => {
32+
echoServer.on('listening', function() {
3333
const sock = new net.Socket();
3434
sock.unref();
3535
sock.ref();

0 commit comments

Comments
 (0)