diff options
author | cjihrig <cjihrig@gmail.com> | 2016-01-28 10:21:57 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2016-01-28 11:31:31 -0500 |
commit | efd33a2a9a7352e608c1d315161c31805f65969d (patch) | |
tree | ead1934a01ebac3e2c5746f6be4a27145c37eae7 /test/parallel/test-net-socket-local-address.js | |
parent | 452928eb24342756b422bce672a73930e8da9a7a (diff) | |
download | node-new-efd33a2a9a7352e608c1d315161c31805f65969d.tar.gz |
test: update arrow function style
This commit applies new arrow function linting rules across the
codebase. As it turns out, the only offenders were in the test
directory.
PR-URL: https://github.com/nodejs/node/pull/4813
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'test/parallel/test-net-socket-local-address.js')
-rw-r--r-- | test/parallel/test-net-socket-local-address.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-net-socket-local-address.js b/test/parallel/test-net-socket-local-address.js index e0ef1ee5ed..379bed363e 100644 --- a/test/parallel/test-net-socket-local-address.js +++ b/test/parallel/test-net-socket-local-address.js @@ -13,7 +13,7 @@ var conns = 0; var clientLocalPorts = []; var serverRemotePorts = []; const client = new net.Socket(); -const server = net.createServer(socket => { +const server = net.createServer((socket) => { serverRemotePorts.push(socket.remotePort); socket.end(); }); |