Skip to content

Commit 69365ef

Browse files
leomorenojasnell
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 9e6c983 commit 69365ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-tls-connect-address-family.js

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