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-timeout.js | |
parent | 76007079ec866317c0119b1f4526d0f67b3998fc (diff) | |
download | node-new-c89b6ee347f0247254fb08999d06301937a965fd.tar.gz |
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-timeout.js')
-rw-r--r-- | test/parallel/test-http-timeout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-timeout.js b/test/parallel/test-http-timeout.js index d1cec8e6e0..b8a28fc2c4 100644 --- a/test/parallel/test-http-timeout.js +++ b/test/parallel/test-http-timeout.js @@ -29,7 +29,7 @@ server.listen(0, function() { res.on('end', function() { count++; - if (count == 11) { + if (count === 11) { server.close(); } }); |