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