test: add coverage for dgram send() errors
This commit adds code coverage for emitted and callback errors for dgram
's Socket#send()
method.
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