Skip to content

Commit 566bc4e

Browse files
committed
test: fix strictEqual arguments order
1 parent 2f1c356 commit 566bc4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
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)