Skip to content

Commit 722e0d4

Browse files
Amiejasnell
Amie
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 b35d234 commit 722e0d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)