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 <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent b35d234 commit 722e0d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)