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: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
3d8c512b67
commit
2d76dec4b4
@ -26,7 +26,7 @@ function runTest() {
|
||||
};
|
||||
// Will fail with ECONNREFUSED if the address family is not honored.
|
||||
tls.connect(options).once('secureConnect', common.mustCall(function() {
|
||||
assert.strictEqual('::1', this.remoteAddress);
|
||||
assert.strictEqual(this.remoteAddress, '::1');
|
||||
this.destroy();
|
||||
}));
|
||||
}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user