test: switch the param order in the assertion
Switch the param order in the assertion at line 140 so that they are in the correct order (actual, expected) PR-URL: https://github.com/nodejs/node/pull/28341 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
5b4a0cb149
commit
23416936bc
@ -138,8 +138,8 @@ test({
|
||||
function test(options, clientResult, serverResult, clientError, serverError) {
|
||||
const server = tls.createServer(serverOptions, (c) => {
|
||||
assert.deepStrictEqual(
|
||||
{ sni: c.servername, authorized: c.authorized },
|
||||
serverResult
|
||||
serverResult,
|
||||
{ sni: c.servername, authorized: c.authorized }
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user