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 de8ffba

Browse filesBrowse files
leomorenoMylesBorins
authored andcommitted
test: updating assertion on test so it fits the new method signature
One assertion on test-tls-connect-address-family.js was out fo date, here we are fixing it to match the signature of strictEqual method. PR-URL: #23536 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 7cd9161 commit de8ffba
Copy full SHA for de8ffba

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-tls-connect-address-family.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-connect-address-family.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function runTest() {
2626
};
2727
// Will fail with ECONNREFUSED if the address family is not honored.
2828
tls.connect(options).once('secureConnect', common.mustCall(function() {
29-
assert.strictEqual('::1', this.remoteAddress);
29+
assert.strictEqual(this.remoteAddress, '::1');
3030
this.destroy();
3131
}));
3232
}));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.