summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-cipher-list.js
diff options
context:
space:
mode:
authorTeddy Katz <teddy.katz@gmail.com>2016-09-18 01:43:49 -0400
committerTeddy Katz <teddy.katz@gmail.com>2016-09-20 23:21:10 -0400
commitb1b1978ec5a533607c5c2decaec44f00ff0a80b4 (patch)
treee86a9a4c5739cee17ae8db011acf30fccd9d8e0f /test/parallel/test-tls-cipher-list.js
parent66df5d147f65cc1a36098987e2d6131c5403c0fc (diff)
downloadandroid-node-v8-b1b1978ec5a533607c5c2decaec44f00ff0a80b4.tar.gz
android-node-v8-b1b1978ec5a533607c5c2decaec44f00ff0a80b4.tar.bz2
android-node-v8-b1b1978ec5a533607c5c2decaec44f00ff0a80b4.zip
tools: add additional ESLint rules
PR-URL: https://github.com/nodejs/node/pull/8643 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@keybase.io>
Diffstat (limited to 'test/parallel/test-tls-cipher-list.js')
-rw-r--r--test/parallel/test-tls-cipher-list.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-tls-cipher-list.js b/test/parallel/test-tls-cipher-list.js
index ba844c944e..44ebd3d2f8 100644
--- a/test/parallel/test-tls-cipher-list.js
+++ b/test/parallel/test-tls-cipher-list.js
@@ -16,9 +16,9 @@ function doCheck(arg, check) {
'-pe',
'require("crypto").constants.defaultCipherList'
]);
- spawn(process.execPath, arg, {}).
- on('error', common.fail).
- stdout.on('data', function(chunk) {
+ spawn(process.execPath, arg, {})
+ .on('error', common.fail)
+ .stdout.on('data', function(chunk) {
out += chunk;
}).on('end', function() {
assert.equal(out.trim(), check);