summaryrefslogtreecommitdiff
path: root/tests/Network/BitTorrent/Core
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-11-29 19:22:30 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-11-29 19:22:30 +0400
commit10b16409b44e0f11db57e52d6ddd1f95a4eb7aec (patch)
tree0bdc7507478221a1614a23093c4bdba54d87bcf5 /tests/Network/BitTorrent/Core
parent5bf4d49718b5b336befc5f5406eb22c17aa03fe8 (diff)
Fix -Wall suggestions in tests
Diffstat (limited to 'tests/Network/BitTorrent/Core')
-rw-r--r--tests/Network/BitTorrent/Core/PeerIdSpec.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/Network/BitTorrent/Core/PeerIdSpec.hs b/tests/Network/BitTorrent/Core/PeerIdSpec.hs
index 4e9f1655..a4cc30b8 100644
--- a/tests/Network/BitTorrent/Core/PeerIdSpec.hs
+++ b/tests/Network/BitTorrent/Core/PeerIdSpec.hs
@@ -1,3 +1,4 @@
1{-# OPTIONS -fno-warn-orphans #-}
1module Network.BitTorrent.Core.PeerIdSpec (spec) where 2module Network.BitTorrent.Core.PeerIdSpec (spec) where
2import Control.Applicative 3import Control.Applicative
3import Data.Text.Encoding as T 4import Data.Text.Encoding as T
@@ -10,9 +11,9 @@ import Network.BitTorrent.Core.PeerId
10instance Arbitrary PeerId where 11instance Arbitrary PeerId where
11 arbitrary = oneof 12 arbitrary = oneof
12 [ azureusStyle defaultClientId defaultVersionNumber 13 [ azureusStyle defaultClientId defaultVersionNumber
13 <$> pure "" 14 <$> (T.encodeUtf8 <$> arbitrary)
14-- , shadowStyle 'X' defaultVersionNumber 15 , shadowStyle 'X' defaultVersionNumber
15-- <$> (T.encodeUtf8 <$> arbitrary) 16 <$> (T.encodeUtf8 <$> arbitrary)
16 ] 17 ]
17 18
18spec :: Spec 19spec :: Spec