diff --git a/test/parallel/test-tls-env-bad-extra-ca.js b/test/parallel/test-tls-env-bad-extra-ca.js index e141de34a9fe1b..5167f586079187 100644 --- a/test/parallel/test-tls-env-bad-extra-ca.js +++ b/test/parallel/test-tls-env-bad-extra-ca.js @@ -29,7 +29,8 @@ let stderr = ''; fork(__filename, opts) .on('exit', common.mustCall(function(status) { - assert.strictEqual(status, 0, 'client did not succeed in connecting'); + // Check that client succeeded in connecting. + assert.strictEqual(status, 0); })) .on('close', common.mustCall(function() { // TODO(addaleax): Make `SafeGetenv` work like `process.env`