Skip to content

Commit

Permalink
test: fix strictEqual input parameters order
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
AlixAng authored and MylesBorins committed Oct 30, 2018
1 parent bcf24e7 commit 110606d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-pipe-file-to-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -82,5 +82,5 @@ function makeRequest() {
}

process.on('exit', function() {
assert.strictEqual(1024 * 10240, count);
assert.strictEqual(count, 1024 * 10240);
});

0 comments on commit 110606d

Please sign in to comment.