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-tls-no-sslv3.js | |
parent | 452928eb24342756b422bce672a73930e8da9a7a (diff) | |
download | android-node-v8-efd33a2a9a7352e608c1d315161c31805f65969d.tar.gz android-node-v8-efd33a2a9a7352e608c1d315161c31805f65969d.tar.bz2 android-node-v8-efd33a2a9a7352e608c1d315161c31805f65969d.zip |
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-tls-no-sslv3.js')
-rw-r--r-- | test/parallel/test-tls-no-sslv3.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-tls-no-sslv3.js b/test/parallel/test-tls-no-sslv3.js index cc30762574..6298af11d2 100644 --- a/test/parallel/test-tls-no-sslv3.js +++ b/test/parallel/test-tls-no-sslv3.js @@ -40,7 +40,7 @@ server.listen(common.PORT, '127.0.0.1', function() { client.stdout.pipe(process.stdout); client.stderr.pipe(process.stderr); client.stderr.setEncoding('utf8'); - client.stderr.on('data', data => stderr += data); + client.stderr.on('data', (data) => stderr += data); client.once('exit', common.mustCall(function(exitCode) { assert.equal(exitCode, 1); @@ -48,7 +48,7 @@ server.listen(common.PORT, '127.0.0.1', function() { })); }); -server.on('tlsClientError', err => errors.push(err)); +server.on('tlsClientError', (err) => errors.push(err)); process.on('exit', function() { if (/unknown option -ssl3/.test(stderr)) { |