test: fix assert parameter order in test-https-localaddress.js

PR-URL: https://github.com/nodejs/node/pull/23599
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
Ian Sutherland 2018-10-12 11:33:54 -07:00 committed by Ruben Bridgewater
parent f8b1e0e4b9
commit 697c3da308
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -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' });