From 3f7755b24c234eeeb592f484c504b4b85a8f9fb8 Mon Sep 17 00:00:00 2001 From: erickwendel Date: Fri, 12 Oct 2018 14:12:00 -0700 Subject: [PATCH] test: fix assertion order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/23626 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Сковорода Никита Андреевич Reviewed-By: Trivikram Kamat Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Ruben Bridgewater --- test/parallel/test-https-client-get-url.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-https-client-get-url.js b/test/parallel/test-https-client-get-url.js index 56a6fe6d18641a..5d520416fe22da 100644 --- a/test/parallel/test-https-client-get-url.js +++ b/test/parallel/test-https-client-get-url.js @@ -40,8 +40,8 @@ const options = { }; const server = https.createServer(options, common.mustCall((req, res) => { - assert.strictEqual('GET', req.method); - assert.strictEqual('/foo?bar', req.url); + assert.strictEqual(req.method, 'GET'); + assert.strictEqual(req.url, '/foo?bar'); res.writeHead(200, { 'Content-Type': 'text/plain' }); res.write('hello\n'); res.end();