Skip to content

Commit c3140d0

Browse files
AlixAngjasnell
authored andcommittedOct 17, 2018
test: fix strictEqual input parameters order
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]>
1 parent b49f4a9 commit c3140d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/parallel/test-pipe-file-to-http.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ let count = 0;
3434

3535
const server = http.createServer(function(req, res) {
3636
let timeoutId;
37-
assert.strictEqual('POST', req.method);
37+
assert.strictEqual(req.method, 'POST');
3838
req.pause();
3939

4040
setTimeout(function() {
@@ -82,5 +82,5 @@ function makeRequest() {
8282
}
8383

8484
process.on('exit', function() {
85-
assert.strictEqual(1024 * 10240, count);
85+
assert.strictEqual(count, 1024 * 10240);
8686
});

0 commit comments

Comments
 (0)
Please sign in to comment.