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:
garrik.leonardo@gmail.com 2018-10-12 12:34:28 -05:00 committed by Ruben Bridgewater
parent 3d8c512b67
commit 2d76dec4b4
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -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();
}));
}));