Skip to content

Commit

Permalink
test: updating assertion on test so it fits the new method signature
Browse files Browse the repository at this point in the history
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 Nov 29, 2018
1 parent bf39c9c commit a665e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-tls-connect-address-family.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}));
}));
Expand Down

0 comments on commit a665e3a

Please sign in to comment.