Skip to content

Commit

Permalink
test: fix assert parameter order in test-https-localaddress.js
Browse files Browse the repository at this point in the history
PR-URL: nodejs#23599
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
iansu authored and BridgeAR committed Oct 15, 2018
1 parent f8b1e0e commit 697c3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-https-localaddress.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' });
Expand Down

0 comments on commit 697c3da

Please sign in to comment.