Skip to content

Commit

Permalink
test: fix test-http2-multiheaders-raw
Browse files Browse the repository at this point in the history
Arguments of deepStrictEqual were in incorrect order. Swap
first argument (actual value) with the second one (expected
value) to make the order correct.

PR-URL: #27885
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Сковорода Никита Андреевич <[email protected]>
  • Loading branch information
ShGKme authored and targos committed May 28, 2019
1 parent 724d9c8 commit 531669b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http2-multiheaders-raw.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ server.on('stream', common.mustCall((stream, headers, flags, rawHeaders) => {
'foo, bar, baz'
];

assert.deepStrictEqual(expected, rawHeaders);
assert.deepStrictEqual(rawHeaders, expected);
stream.respond(src);
stream.end();
}));
Expand Down

0 comments on commit 531669b

Please sign in to comment.