From 25b166a5cbea18215699b6203d2c541abc637fe1 Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Fri, 12 Oct 2018 11:33:54 -0700 Subject: [PATCH] test: fix assert parameter order in test-https-localaddress.js PR-URL: https://github.com/nodejs/node/pull/23599 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat Reviewed-By: Gireesh Punathil Reviewed-By: Sakthipriyan Vairamani --- test/parallel/test-https-localaddress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-https-localaddress.js b/test/parallel/test-https-localaddress.js index bfa24457dac64e..470b59432533a1 100644 --- a/test/parallel/test-https-localaddress.js +++ b/test/parallel/test-https-localaddress.js @@ -38,7 +38,7 @@ const options = { const server = https.createServer(options, function(req, res) { console.log(`Connect from: ${req.connection.remoteAddress}`); - assert.strictEqual('127.0.0.2', req.connection.remoteAddress); + assert.strictEqual(req.connection.remoteAddress, '127.0.0.2'); req.on('end', function() { res.writeHead(200, { 'Content-Type': 'text/plain' });