Skip to content

Commit 1fd1e60

Browse files
parisandmilojasnell
authored andcommitted
test: corrected the order of arguments in assert.strictEqual()
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>
1 parent cb9fe73 commit 1fd1e60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pummel/test-tls-securepair-client.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ function test(keyfn, certfn, check, next) {
171171

172172

173173
process.on('exit', function() {
174-
assert.strictEqual(0, serverExitCode);
175-
assert.strictEqual('WAIT-SERVER-CLOSE', state);
174+
assert.strictEqual(serverExitCode, 0);
175+
assert.strictEqual(state, 'WAIT-SERVER-CLOSE');
176176
assert.ok(gotWriteCallback);
177177
});
178178
}

0 commit comments

Comments
 (0)