Skip to content

Commit

Permalink
improved formatting of lists
Browse files Browse the repository at this point in the history
  • Loading branch information
ibtaylor authored and Johan Tibell committed May 3, 2010
1 parent dbf2b63 commit 7a19c17
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Network/Socket/ByteString/Lazy.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
15 changes: 8 additions & 7 deletions tests/Simple.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
]

0 comments on commit 7a19c17

Please sign in to comment.