Skip to content

Commit 697c3da

Browse files
iansuBridgeAR
authored andcommitted
test: fix assert parameter order in test-https-localaddress.js
PR-URL: #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]>
1 parent f8b1e0e commit 697c3da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-https-localaddress.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const options = {
3939

4040
const server = https.createServer(options, function(req, res) {
4141
console.log(`Connect from: ${req.connection.remoteAddress}`);
42-
assert.strictEqual('127.0.0.2', req.connection.remoteAddress);
42+
assert.strictEqual(req.connection.remoteAddress, '127.0.0.2');
4343

4444
req.on('end', function() {
4545
res.writeHead(200, { 'Content-Type': 'text/plain' });

0 commit comments

Comments
 (0)