From ce7555ddebda7f18a27960a8c7ce20f26a6a8982 Mon Sep 17 00:00:00 2001 From: Ivan Sieder Date: Fri, 12 Oct 2018 09:38:18 -0700 Subject: [PATCH] test: strictEqual correct order for http-information-processing test PR-URL: https://github.com/nodejs/node/pull/23456 Reviewed-By: Gireesh Punathil Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Sakthipriyan Vairamani --- test/parallel/test-http-information-processing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-http-information-processing.js b/test/parallel/test-http-information-processing.js index 43d1bdafdf4dd1..94554c2109d433 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; });