Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: updating assertion and expect order in test-tls-client-verify.js
  • Loading branch information
Eli Itah committed Oct 12, 2018
commit 85228f1b4adfe42bca2d92af981175a58b1c64ec
4 changes: 2 additions & 2 deletions test/parallel/test-tls-client-verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function testServers(index, servers, clientOptions, cb) {

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

assert.strictEqual(ok, authorized);
assert.strictEqual(authorized, ok);
server.close();
}));

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

client.on('end', common.mustCall(function() {
assert.strictEqual('hello world\n', b);
assert.strictEqual(b, 'hello world\n');
}));

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