io.sockets.unix: adding tests for connection refused.

db4
John Benediktsson 2016-03-13 13:15:45 -07:00
parent 3fdbbe0fea
commit b3fbafcf92
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
USING: accessors io.encodings.binary io.sockets kernel
tools.test ;
IN: io.sockets.unix
[
T{ inet f "127.0.0.1" 5000 } binary [ ] with-client
] [
message>> "Connection refused" =
] must-fail-with