Skip to content

Commit

Permalink
test: fix incorrect expectation order
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Amie authored and MylesBorins committed Oct 30, 2018
1 parent 77ef497 commit f8e7112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http-expect-handling.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ function nextTest() {


process.on('exit', function() {
assert.strictEqual(2, testsComplete);
assert.strictEqual(testsComplete, 2);
});

0 comments on commit f8e7112

Please sign in to comment.