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:
Diana Lee 2018-10-12 10:32:20 -07:00 committed by Ruben Bridgewater
parent 5ae0f111dc
commit a0aa7ada0e
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -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);
}); });
} }