Skip to content

Commit

Permalink
test: corrected the order of arguments in assert.strictEqual()
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
parisandmilo authored and addaleax committed Oct 20, 2018
1 parent 8cbc9b6 commit caebc2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pummel/test-tls-securepair-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ function test(keyfn, certfn, check, next) {


process.on('exit', function() {
assert.strictEqual(0, serverExitCode);
assert.strictEqual('WAIT-SERVER-CLOSE', state);
assert.strictEqual(serverExitCode, 0);
assert.strictEqual(state, 'WAIT-SERVER-CLOSE');
assert.ok(gotWriteCallback);
});
}

0 comments on commit caebc2b

Please sign in to comment.