diff options
author | Rich Trott <rtrott@gmail.com> | 2016-05-12 14:33:46 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-05-15 18:22:50 -0700 |
commit | d73e189c26bd3b25a586bcea7dee89163bcd58b4 (patch) | |
tree | d43f55f2cf5374f37a3e8a4635ecf0bd4ab1153a /test/parallel/test-net-pipe-connect-errors.js | |
parent | 9bc72ea0ded0cbe3c0e349d446787636efdb0618 (diff) | |
download | android-node-v8-d73e189c26bd3b25a586bcea7dee89163bcd58b4.tar.gz android-node-v8-d73e189c26bd3b25a586bcea7dee89163bcd58b4.tar.bz2 android-node-v8-d73e189c26bd3b25a586bcea7dee89163bcd58b4.zip |
tools,test: make argument linting more stringent
The custom linting rule for argument alignment in multi-line function
calls previously ignored template strings in an effort to avoid false
positives. This isn't really necessary. Enforce for template strings and
adjust whitespace in three tests to abide. (Insert "The test abides"
joke of your choosing here.)
PR-URL: https://github.com/nodejs/node/pull/6720
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test/parallel/test-net-pipe-connect-errors.js')
-rw-r--r-- | test/parallel/test-net-pipe-connect-errors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-net-pipe-connect-errors.js b/test/parallel/test-net-pipe-connect-errors.js index 8e341015d9..05216731e8 100644 --- a/test/parallel/test-net-pipe-connect-errors.js +++ b/test/parallel/test-net-pipe-connect-errors.js @@ -45,7 +45,7 @@ var notSocketClient = net.createConnection(emptyTxt, function() { notSocketClient.on('error', function(err) { assert(err.code === 'ENOTSOCK' || err.code === 'ECONNREFUSED', - `received ${err.code} instead of ENOTSOCK or ECONNREFUSED`); + `received ${err.code} instead of ENOTSOCK or ECONNREFUSED`); notSocketErrorFired = true; }); |