Skip to content

Commit c3140d0

Browse files
AlixAngjasnell
authored andcommitted
test: fix strictEqual input parameters order
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>
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)