From 16a199ad0595121daed38c3ac439673ffa8f5198 Mon Sep 17 00:00:00 2001 From: Marc Posth Date: Tue, 6 Nov 2018 14:35:19 +0000 Subject: [PATCH] test: fixe argument order in assert.strictEqual File: test/parallel/test-http-client-upload-buf.js PR-URL: https://github.com/nodejs/node/pull/24140 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat --- test/parallel/test-http-client-upload-buf.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/parallel/test-http-client-upload-buf.js b/test/parallel/test-http-client-upload-buf.js index b778d07a826b1d..1c75612c807874 100644 --- a/test/parallel/test-http-client-upload-buf.js +++ b/test/parallel/test-http-client-upload-buf.js @@ -27,8 +27,7 @@ const http = require('http'); const N = 1024; const server = http.createServer(common.mustCall(function(req, res) { - assert.strictEqual('POST', req.method); - + assert.strictEqual(req.method, 'POST'); let bytesReceived = 0; req.on('data', function(chunk) {