From c481799d72cb1fd496c0747fba870afb275d36b0 Mon Sep 17 00:00:00 2001 From: rt33 Date: Sat, 24 Nov 2018 17:13:22 +0900 Subject: [PATCH] test: fix the arguments order in `assert.strictEqual` PR-URL: https://github.com/nodejs/node/pull/24626 Reviewed-By: Gireesh Punathil Reviewed-By: Shingo Inoue Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Daijiro Wachi Reviewed-By: Franziska Hinkelmann --- test/parallel/test-http-request-end.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-http-request-end.js b/test/parallel/test-http-request-end.js index a0cdcf27dd03a9..c9278945b7993b 100644 --- a/test/parallel/test-http-request-end.js +++ b/test/parallel/test-http-request-end.js @@ -35,7 +35,7 @@ const server = http.Server(function(req, res) { }); req.on('end', function() { - assert.strictEqual(expected, result); + assert.strictEqual(result, expected); server.close(); res.writeHead(200); res.end('hello world\n');