Skip to content

Commit

Permalink
test: replace third argument with comment in strict equals
Browse files Browse the repository at this point in the history
PR-URL: #21603
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
developerdavo authored and targos committed Jul 4, 2018
1 parent 4fa7150 commit 47b10e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-tls-env-bad-extra-ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 47b10e3

Please sign in to comment.