summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2014-03-02 16:55:14 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2014-03-02 16:55:14 +0400
commitff004146437723fb565cf693e71c50b35aa96abf (patch)
tree81a2a1ff22e3188e74f21829c0cbf675e41f442f
parent1adebd3cc19e33e4b3eb6600c4c4208f38b4784d (diff)
Fix build failure
-rw-r--r--tests/Network/BitTorrent/Exchange/BlockSpec.hs7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/Network/BitTorrent/Exchange/BlockSpec.hs b/tests/Network/BitTorrent/Exchange/BlockSpec.hs
index f4301452..81ba09b8 100644
--- a/tests/Network/BitTorrent/Exchange/BlockSpec.hs
+++ b/tests/Network/BitTorrent/Exchange/BlockSpec.hs
@@ -4,7 +4,7 @@ import Data.Maybe
4import Test.Hspec 4import Test.Hspec
5import Test.QuickCheck 5import Test.QuickCheck
6 6
7import Network.BitTorrent.Exchange.Block 7import Network.BitTorrent.Exchange.Block as Block
8 8
9 9
10instance Arbitrary a => Arbitrary (Block a) where 10instance Arbitrary a => Arbitrary (Block a) where
@@ -14,10 +14,7 @@ instance Arbitrary BlockIx where
14 arbitrary = BlockIx <$> arbitrary <*> arbitrary <*> arbitrary 14 arbitrary = BlockIx <$> arbitrary <*> arbitrary <*> arbitrary
15 15
16instance Arbitrary Bucket where 16instance Arbitrary Bucket where
17 arbitrary = error "arbitrary: block bucket" 17 arbitrary = Block.fromList <$> arbitrary <*> arbitrary
18
19instance Show Bucket where
20 show = error "show: bucket"
21 18
22spec :: Spec 19spec :: Spec
23spec = do 20spec = do