test: fix strictEqual input parameters order

PR-URL: https://github.com/nodejs/node/pull/23570
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
AlixAng 2018-10-12 11:00:55 -07:00 committed by Ruben Bridgewater
parent 2505f05ce8
commit 552fe56b65
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -34,7 +34,7 @@ let count = 0;
const server = http.createServer(function(req, res) {
let timeoutId;
assert.strictEqual('POST', req.method);
assert.strictEqual(req.method, 'POST');
req.pause();
setTimeout(function() {
@ -82,5 +82,5 @@ function makeRequest() {
}
process.on('exit', function() {
assert.strictEqual(1024 * 10240, count);
assert.strictEqual(count, 1024 * 10240);
});