io.sockets: use must-fail-with for resolve-host errors.
parent
24cb41aa13
commit
6f87c2afc7
|
@ -173,6 +173,4 @@ os unix? [
|
||||||
[ 80 ] [ "http" protocol-port ] unit-test
|
[ 80 ] [ "http" protocol-port ] unit-test
|
||||||
[ f ] [ f protocol-port ] unit-test
|
[ f ] [ f protocol-port ] unit-test
|
||||||
|
|
||||||
[ t ] [
|
[ "you-cant-resolve-me!" resolve-host ] [ addrinfo-error? ] must-fail-with
|
||||||
[ "you-cant-resolve-me!" resolve-host ] [ addrinfo-error? ] recover
|
|
||||||
] unit-test
|
|
||||||
|
|
Loading…
Reference in New Issue