Skip to content

Commit

Permalink
add the direction of logging in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenthz committed Dec 20, 2011
1 parent 201cd7f commit de9d75b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Connection.hs
Expand Up @@ -95,8 +95,8 @@ arbitraryPairParams = do
where
logging pre = if debug
then defaultLogging
{ loggingPacketSent = putStrLn . (pre ++)
, loggingPacketRecv = putStrLn . (pre ++) }
{ loggingPacketSent = putStrLn . ((pre ++ ">> ") ++)
, loggingPacketRecv = putStrLn . ((pre ++ "<< ") ++) }
else defaultLogging
arbitraryVersions :: Gen [Version]
arbitraryVersions = resize (length supportedVersions + 1) $ listOf1 (elements supportedVersions)
Expand Down

0 comments on commit de9d75b

Please sign in to comment.