test : updated test to use common.mustCall
refactored test case in test-http-res-write-end-dont-take-array
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