diff options
author | Rich Trott <rtrott@gmail.com> | 2016-08-17 16:14:43 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-08-19 16:30:28 -0700 |
commit | c89b6ee347f0247254fb08999d06301937a965fd (patch) | |
tree | 86c8b742ef2827fdedefd4678e05617dad4ed090 /test/parallel/test-http-client-abort.js | |
parent | 76007079ec866317c0119b1f4526d0f67b3998fc (diff) | |
download | android-node-v8-c89b6ee347f0247254fb08999d06301937a965fd.tar.gz android-node-v8-c89b6ee347f0247254fb08999d06301937a965fd.tar.bz2 android-node-v8-c89b6ee347f0247254fb08999d06301937a965fd.zip |
test: favor strict equality in http tests
PR-URL: https://github.com/nodejs/node/pull/8151
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-http-client-abort.js')
-rw-r--r-- | test/parallel/test-http-client-abort.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-client-abort.js b/test/parallel/test-http-client-abort.js index cd009a152a..4f46128f0e 100644 --- a/test/parallel/test-http-client-abort.js +++ b/test/parallel/test-http-client-abort.js @@ -37,7 +37,7 @@ server.listen(0, function() { console.log('Client response code ' + res.statusCode); res.resume(); - if (++responses == N) { + if (++responses === N) { console.log('All clients connected, destroying.'); requests.forEach(function(outReq) { console.log('abort'); |