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 a666d3e

Browse filesBrowse files
fraxkentargos
authored andcommitted
test: fix strictEqual() arguments order
PR-URL: #23771 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 4112a10 commit a666d3e
Copy full SHA for a666d3e

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-http-parser-bad-ref.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http-parser-bad-ref.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ demoBug('POST /1/22 HTTP/1.1\r\n' +
8282
'pong');
8383

8484
process.on('exit', function() {
85-
assert.strictEqual(2, headersComplete);
86-
assert.strictEqual(2, messagesComplete);
85+
assert.strictEqual(headersComplete, 2);
86+
assert.strictEqual(messagesComplete, 2);
8787
console.log('done!');
8888
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.