Skip to content
Permalink
Browse files

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>
  • Loading branch information...
leomoreno authored and MylesBorins committed Oct 12, 2018
1 parent bf39c9c commit a665e3ac1e5e8862ed04bf0530ce229aef2c88ea
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-tls-connect-address-family.js
@@ -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();
}));
}));

0 comments on commit a665e3a

Please sign in to comment.
You can’t perform that action at this time.