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-expect-continue.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-expect-continue.js')
-rw-r--r-- | test/parallel/test-http-expect-continue.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-expect-continue.js b/test/parallel/test-http-expect-continue.js index a98cfcc07d..a0ebf83b33 100644 --- a/test/parallel/test-http-expect-continue.js +++ b/test/parallel/test-http-expect-continue.js @@ -58,7 +58,7 @@ server.on('listening', function() { assert.equal(body, test_res_body, 'Response body doesn\'t match.'); assert.ok('abcd' in res.headers, 'Response headers missing.'); outstanding_reqs--; - if (outstanding_reqs == 0) { + if (outstanding_reqs === 0) { server.close(); process.exit(); } |