be polite and say bye to server.

This commit is contained in:
Vincent Hanquez 2011-11-14 22:18:30 +00:00
parent 88b8da59f0
commit 147f1edfbf

View file

@ -176,6 +176,7 @@ prop_handshake_initiate = do
unless success $ fail "handshake failed on client side"
d <- readChan queue
sendData ctx d
bye ctx
return ()
assertEq expected got = unless (expected == got) $ error ("got " ++ show got ++ " but was expecting " ++ show expected)