From f943cb298667c6b53fb5b9ab100b30b185b5caf8 Mon Sep 17 00:00:00 2001 From: AlixAng Date: Fri, 12 Oct 2018 11:00:55 -0700 Subject: [PATCH] test: fix strictEqual input parameters order PR-URL: https://github.com/nodejs/node/pull/23570 Reviewed-By: Joyee Cheung Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Trivikram Kamat Reviewed-By: Sakthipriyan Vairamani --- test/parallel/test-pipe-file-to-http.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-pipe-file-to-http.js b/test/parallel/test-pipe-file-to-http.js index 3cadec7a27237e..3d326a77a49bc7 100644 --- a/test/parallel/test-pipe-file-to-http.js +++ b/test/parallel/test-pipe-file-to-http.js @@ -34,7 +34,7 @@ let count = 0; const server = http.createServer(function(req, res) { let timeoutId; - assert.strictEqual('POST', req.method); + assert.strictEqual(req.method, 'POST'); req.pause(); setTimeout(function() { @@ -82,5 +82,5 @@ function makeRequest() { } process.on('exit', function() { - assert.strictEqual(1024 * 10240, count); + assert.strictEqual(count, 1024 * 10240); });