Skip to content

Commit

Permalink
test: strictEqual correct order for http-information-processing test
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
ivansieder authored and MylesBorins committed Oct 30, 2018
1 parent 9dfc13e commit 58a5b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http-information-processing.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; });
Expand Down

0 comments on commit 58a5b76

Please sign in to comment.