diff options
author | Ivan Sieder <ivan@sieder.xyz> | 2018-10-12 09:38:18 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-10-13 09:29:01 -0700 |
commit | 84b21eb377531ecdc78d4f84309edc13e5beb595 (patch) | |
tree | e6968e949cafc4168679365c45a68c697fd5622f /test/parallel/test-http-information-processing.js | |
parent | 0005846f033ae9866a6bc5dbbe7f73c6aeb67185 (diff) | |
download | android-node-v8-84b21eb377531ecdc78d4f84309edc13e5beb595.tar.gz android-node-v8-84b21eb377531ecdc78d4f84309edc13e5beb595.tar.bz2 android-node-v8-84b21eb377531ecdc78d4f84309edc13e5beb595.zip |
test: strictEqual correct order for http-information-processing test
PR-URL: https://github.com/nodejs/node/pull/23456
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'test/parallel/test-http-information-processing.js')
-rw-r--r-- | test/parallel/test-http-information-processing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-information-processing.js b/test/parallel/test-http-information-processing.js index 43d1bdafdf..94554c2109 100644 --- a/test/parallel/test-http-information-processing.js +++ b/test/parallel/test-http-information-processing.js @@ -38,7 +38,7 @@ server.listen(0, function() { req.on('response', function(res) { // Check that all 102 Processing received before full response received. assert.strictEqual(countdown.remaining, 1); - assert.strictEqual(200, res.statusCode, + assert.strictEqual(res.statusCode, 200, `Final status code was ${res.statusCode}, not 200.`); res.setEncoding('utf8'); res.on('data', function(chunk) { body += chunk; }); |