Skip to content

Commit

Permalink
test: fix strictEqual arguments order
Browse files Browse the repository at this point in the history
PR-URL: #23956
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
  • Loading branch information
Westixy authored and rvagg committed Nov 28, 2018
1 parent 6ae07a9 commit d34ade8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http2-write-empty-string.js
Expand Up @@ -25,15 +25,15 @@ server.listen(0, common.mustCall(function() {
let res = '';

req.on('response', common.mustCall(function(headers) {
assert.strictEqual(200, headers[':status']);
assert.strictEqual(headers[':status'], 200);
}));

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

req.on('end', common.mustCall(function() {
assert.strictEqual('1\n2\n3\n', res);
assert.strictEqual(res, '1\n2\n3\n');
client.close();
}));

Expand Down

0 comments on commit d34ade8

Please sign in to comment.