From aa63908507fc717b2674f5ffbd5deb4c39feec4e 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 --- 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 cfe289c30caa9d..eb5cf821aa661c 100644 --- a/test/parallel/test-pipe-file-to-http.js +++ b/test/parallel/test-pipe-file-to-http.js @@ -35,7 +35,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() { @@ -87,5 +87,5 @@ function makeRequest() { } process.on('exit', function() { - assert.strictEqual(1024 * 10240, count); + assert.strictEqual(count, 1024 * 10240); });