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 Nov 29, 2018
1 parent f007c8b commit 6ca3876
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 6ca3876

Please sign in to comment.