Skip to content

test: add http-common's test

Add a test of checkIsHttpToken and checkInvalidHeaderChar.

checkIsHttpToken: https://github.com/nodejs/node/blob/master/lib/_http_common.js#L267 checkInvalidHeaderChar: https://github.com/nodejs/node/blob/master/lib/_http_common.js#L318 Coverage: https://coverage.nodejs.org/coverage-57f6a106fbc69a47/root/_http_common.js.html

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Merge request reports

Loading