test: remove messages in assert.strictEqual
PR-URL: https://github.com/nodejs/node/pull/16014 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
parent
09d8b3576f
commit
5843b2c945
@ -17,11 +17,7 @@ const server = tls.createServer({
|
|||||||
requestCert: true,
|
requestCert: true,
|
||||||
rejectUnauthorized: false
|
rejectUnauthorized: false
|
||||||
}, common.mustCall(function(c) {
|
}, common.mustCall(function(c) {
|
||||||
assert.strictEqual(
|
assert.strictEqual(c.authorizationError, null);
|
||||||
c.authorizationError,
|
|
||||||
null,
|
|
||||||
'authorizationError must be null'
|
|
||||||
);
|
|
||||||
c.end();
|
c.end();
|
||||||
})).listen(0, function() {
|
})).listen(0, function() {
|
||||||
const client = tls.connect({
|
const client = tls.connect({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user