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 <usharma1998@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
  • Loading branch information
ShGKme authored and ChALkeR committed May 27, 2019
1 parent ac95c2f commit 2e9cd82
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 2e9cd82

Please sign in to comment.