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>
This commit is contained in:
parent
0005846f03
commit
84b21eb377
@ -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; });
|
||||
|
Loading…
x
Reference in New Issue
Block a user