commenting out the withFreePort test case.

This commit is contained in:
Kazu Yamamoto 2018-01-19 16:26:41 +09:00
parent 0033a3d99a
commit 05f5bb4483

View File

@ -42,8 +42,10 @@ spec = do
readProcess "curl" ["-s", "localhost:" ++ show port] "")
`shouldThrow` (errorCall "foo")
{- The future netwrok library will not export MkSocket.
describe "withFreePort" $ do
it "closes the socket before exiting" $ do
MkSocket _ _ _ _ statusMVar <- withFreePort $ \ (_, sock) -> do
return sock
readMVar statusMVar `shouldReturn` Closed
-}