Skip to content

test: update test-http-status-code to use countdown

The test was changed to use countdown instead of validating if the index of the array of codes exceeded the size of the array.

Also the validation that was before didn't allow to execute the last test, so the assert equal was to 5, and the last status in the array wasn't tested. The change was to assert 6 tests complete.

Refs: https://github.com/nodejs/node/issues/17169

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

Merge request reports

Loading