test: make test-tls-alert-handling more strict
Use common.mustCall()
and common.mustNotCall()
to more rigorously
check that functions (especially no-op error handlers) are called the
expected number of times in test-tls-alert-handling.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test tls