Skip to content

Commit 779d5ec

Browse files
iansuMylesBorins
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 fad9d80 commit 779d5ec

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
@@ -38,7 +38,7 @@ const options = {
3838

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

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

0 commit comments

Comments
 (0)