test: added net.connect lookup type check
Check the options passed to the Socket connect function to validate the type of the lookup property. It must be strictly a function.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test net