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 f8e7112

Browse filesBrowse files
AmieMylesBorins
authored andcommitted
test: fix incorrect expectation order
test-http-expect-handling.js has an instance of the test value and the expected value being reversed. Refs: https://nodejs.org/api/assert.html PR-URL: #23466 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent 77ef497 commit f8e7112
Copy full SHA for f8e7112

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/parallel/test-http-expect-handling.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http-expect-handling.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ function nextTest() {
5151

5252

5353
process.on('exit', function() {
54-
assert.strictEqual(2, testsComplete);
54+
assert.strictEqual(testsComplete, 2);
5555
});

0 commit comments

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