diff --git a/Network/Socket/ByteString/Lazy.hsc b/Network/Socket/ByteString/Lazy.hsc index eadf87e..6e6575b 100644 --- a/Network/Socket/ByteString/Lazy.hsc +++ b/Network/Socket/ByteString/Lazy.hsc @@ -25,13 +25,13 @@ module Network.Socket.ByteString.Lazy ( #if !defined(mingw32_HOST_OS) -- * Send data to a socket - send, - sendAll, + send + , sendAll #endif -- * Receive data from a socket - getContents, - recv + , getContents + , recv ) where import Control.Monad (liftM) diff --git a/tests/Simple.hs b/tests/Simple.hs index 46f2976..8ddc43a 100644 --- a/tests/Simple.hs +++ b/tests/Simple.hs @@ -131,10 +131,11 @@ main = withSocketsDo $ do when (errors counts + failures counts > 0) exitFailure tests :: Test -tests = TestList [TestLabel "testLazySend" testLazySend, - TestLabel "testSendAll" testSendMany, - TestLabel "testSendMany" testSendMany, - TestLabel "testRecv" testRecv, - TestLabel "testOverFlowRecv" testOverFlowRecv, - TestLabel "testRecvFrom" testRecvFrom, - TestLabel "testOverFlowRecvFrom" testOverFlowRecvFrom] +tests = TestList [ TestLabel "testLazySend" testLazySend + , TestLabel "testSendAll" testSendMany + , TestLabel "testSendMany" testSendMany + , TestLabel "testRecv" testRecv + , TestLabel "testOverFlowRecv" testOverFlowRecv + , TestLabel "testRecvFrom" testRecvFrom + , TestLabel "testOverFlowRecvFrom" testOverFlowRecvFrom + ]