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:
parent
8691d8f542
commit
c23d2505b3
@ -51,5 +51,5 @@ function nextTest() {
|
|||||||
|
|
||||||
|
|
||||||
process.on('exit', function() {
|
process.on('exit', function() {
|
||||||
assert.strictEqual(2, testsComplete);
|
assert.strictEqual(testsComplete, 2);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user