From 631921a5370ef6977b3d352a9f1e6c66dec82099 Mon Sep 17 00:00:00 2001 From: erickwendel Date: Fri, 12 Oct 2018 14:12:00 -0700 Subject: [PATCH] test: fix assertion order --- 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();