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: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Amie 2018-10-12 09:33:32 -07:00 committed by Rich Trott
parent 8691d8f542
commit c23d2505b3

View File

@ -51,5 +51,5 @@ function nextTest() {
process.on('exit', function() {
assert.strictEqual(2, testsComplete);
assert.strictEqual(testsComplete, 2);
});