Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 110606d

Browse filesBrowse files
AlixAngMylesBorins
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 bcf24e7 commit 110606d
Copy full SHA for 110606d

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-pipe-file-to-http.js
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.