Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 25b166a

Browse filesBrowse 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 e98d8f4 commit 25b166a
Copy full SHA for 25b166a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-https-localaddress.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-https-localaddress.js
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.