test: corrected the order of arguments in assert.strictEqual()
PR-URL: https://github.com/nodejs/node/pull/23528 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
5ae0f111dc
commit
a0aa7ada0e
@ -171,8 +171,8 @@ function test(keyfn, certfn, check, next) {
|
|||||||
|
|
||||||
|
|
||||||
process.on('exit', function() {
|
process.on('exit', function() {
|
||||||
assert.strictEqual(0, serverExitCode);
|
assert.strictEqual(serverExitCode, 0);
|
||||||
assert.strictEqual('WAIT-SERVER-CLOSE', state);
|
assert.strictEqual(state, 'WAIT-SERVER-CLOSE');
|
||||||
assert.ok(gotWriteCallback);
|
assert.ok(gotWriteCallback);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user