Skip to content

Commit d34ade8

Browse files
Westixyrvagg
authored andcommitted
test: fix strictEqual arguments order
PR-URL: #23956 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent 6ae07a9 commit d34ade8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-http2-write-empty-string.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ server.listen(0, common.mustCall(function() {
2525
let res = '';
2626

2727
req.on('response', common.mustCall(function(headers) {
28-
assert.strictEqual(200, headers[':status']);
28+
assert.strictEqual(headers[':status'], 200);
2929
}));
3030

3131
req.on('data', (chunk) => {
3232
res += chunk;
3333
});
3434

3535
req.on('end', common.mustCall(function() {
36-
assert.strictEqual('1\n2\n3\n', res);
36+
assert.strictEqual(res, '1\n2\n3\n');
3737
client.close();
3838
}));
3939

0 commit comments

Comments
 (0)