0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

test: replace third argument with comment in strict equals

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Developer Davo 2018-06-30 08:55:23 +02:00 committed by Trivikram Kamat
parent 5057dd40a1
commit ecba4fa743

View File

@ -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`