Skip to content

Commit bcd14b2

Browse files
iansujasnell
authored andcommitted
test: fix assert parameter order in test-https-localaddress.js
PR-URL: #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>
1 parent 1c6a551 commit bcd14b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-https-localaddress.js

+1-1
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)