test: use common.mustCall in http test
Refactored the test case in test-http-malformed-request
to use common.mustCall
, as per issue #17169 (closed)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test