io.sockets: use must-fail-with for resolve-host errors.

db4
John Benediktsson 2014-04-20 10:02:04 -07:00
parent 24cb41aa13
commit 6f87c2afc7
1 changed files with 1 additions and 3 deletions
basis/io/sockets

View File

@ -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