summaryrefslogtreecommitdiff
path: root/test/gc/test-http-client-connaborted.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-02-03 12:27:40 -0800
committerJames M Snell <jasnell@gmail.com>2016-02-04 10:56:17 -0800
commit7406cd3a59302d50420e3c6c12359ac20094ad24 (patch)
tree66d64a0dfc6b0a9ff83656870c8fe71ef5099fb3 /test/gc/test-http-client-connaborted.js
parentc714b2e21cce7486c1c921aff492c45f39a40d27 (diff)
downloadnode-new-7406cd3a59302d50420e3c6c12359ac20094ad24.tar.gz
tools: lint for spacing around unary operators
Enable `space-unary-ops` in `.eslintrc`. This prohibits things like: i ++ // use `i++` instead typeof(foo) // use `typeof foo` or `typeof (foo)` instead Ref: https://github.com/nodejs/node/pull/4772#discussion_r51732299 PR-URL: https://github.com/nodejs/node/pull/5063 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/gc/test-http-client-connaborted.js')
-rw-r--r--test/gc/test-http-client-connaborted.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gc/test-http-client-connaborted.js b/test/gc/test-http-client-connaborted.js
index 5accec4ec6..074457a751 100644
--- a/test/gc/test-http-client-connaborted.js
+++ b/test/gc/test-http-client-connaborted.js
@@ -48,7 +48,7 @@ for (var i = 0; i < 10; i++)
getall();
function afterGC() {
- countGC ++;
+ countGC++;
}
var timer;