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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
AlixAng authored and MylesBorins committed Nov 29, 2018
1 parent 0f8709c commit 524222e
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 524222e

Please sign in to comment.