diff --git a/test/parallel/test-https-localaddress.js b/test/parallel/test-https-localaddress.js index 4bf3835dddbc8c..6c6cac37ccca3b 100644 --- a/test/parallel/test-https-localaddress.js +++ b/test/parallel/test-https-localaddress.js @@ -39,7 +39,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' });