Skip to content

Commit c9afea9

Browse files
Eli Itahjasnell
Eli Itah
authored andcommitted
test: updating assertion and expect order in test-tls-client-verify.js
PR-URL: #23547 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 47b7f2a commit c9afea9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/parallel/test-tls-client-verify.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function testServers(index, servers, clientOptions, cb) {
9999

100100
console.error(`expected: ${ok} authed: ${authorized}`);
101101

102-
assert.strictEqual(ok, authorized);
102+
assert.strictEqual(authorized, ok);
103103
server.close();
104104
}));
105105

@@ -108,7 +108,7 @@ function testServers(index, servers, clientOptions, cb) {
108108
});
109109

110110
client.on('end', common.mustCall(function() {
111-
assert.strictEqual('hello world\n', b);
111+
assert.strictEqual(b, 'hello world\n');
112112
}));
113113

114114
client.on('close', common.mustCall(function() {

0 commit comments

Comments
 (0)