From 3637be8064c5631257bcfcd56fbd9bec884547eb Mon Sep 17 00:00:00 2001 From: Roland Broekema Date: Tue, 6 Nov 2018 15:47:53 +0100 Subject: [PATCH] test: fix assert parameter order Switched arguments in assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/24144 Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater --- test/parallel/test-http-blank-header.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-http-blank-header.js b/test/parallel/test-http-blank-header.js index 40377fb6684db4..3f2b512fc85567 100644 --- a/test/parallel/test-http-blank-header.js +++ b/test/parallel/test-http-blank-header.js @@ -26,8 +26,8 @@ const http = require('http'); const net = require('net'); const server = http.createServer(common.mustCall((req, res) => { - assert.strictEqual('GET', req.method); - assert.strictEqual('/blah', req.url); + assert.strictEqual(req.method, 'GET'); + assert.strictEqual(req.url, '/blah'); assert.deepStrictEqual({ host: 'example.org:443', origin: 'http://example.org',