test: fix strictEqual arguments order

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Esteban Sotillo authored and Michaël Zasso committed 2018-11-02 13:49:41 +01:00
1 parent dccf4a6c38
commit 63778b7ae1
1 file changed
+2 -2
@@ -25,7 +25,7 @@ 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) => {
@@ -33,7 +33,7 @@ server.listen(0, common.mustCall(function() {
});
req.on('end', common.mustCall(function() {
assert.strictEqual('1\n2\n3\n', res);
assert.strictEqual(res, '1\n2\n3\n');
client.close();
}));