]> gitweb.factorcode.org Git - factor.git/commitdiff
io.sockets: use must-fail-with for resolve-host errors.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 20 Apr 2014 17:02:04 +0000 (10:02 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 20 Apr 2014 17:02:04 +0000 (10:02 -0700)
basis/io/sockets/sockets-tests.factor

index 9e146dacfb18e2fbbb7c2130b21484302d81b9c5..a309a0afc38050c69d6d7d3c4280fead7af3c869 100644 (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