summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2014-01-01 15:27:56 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2014-01-01 15:27:56 +0400
commit200be6bacf3237f727980c0f80dd02fd9cb15e3e (patch)
treef22206f7990ecdd4f8a5ca23657d66cbf8f7ef36 /tests
parentab80dc87b0d0440a8566e389f4f5f2d95d931a1a (diff)
Rename HashArray to HashList.
Hash list is well established name for this kind of objects. Also `hash array' sometimes refer for `hash table's but not `hash list's.
Diffstat (limited to 'tests')
-rw-r--r--tests/Data/Torrent/MetainfoSpec.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Data/Torrent/MetainfoSpec.hs b/tests/Data/Torrent/MetainfoSpec.hs
index d2e0e52e..3d1a9213 100644
--- a/tests/Data/Torrent/MetainfoSpec.hs
+++ b/tests/Data/Torrent/MetainfoSpec.hs
@@ -39,8 +39,8 @@ instance Arbitrary URI where
39-- Instances 39-- Instances
40-----------------------------------------------------------------------} 40-----------------------------------------------------------------------}
41 41
42instance Arbitrary HashArray where 42instance Arbitrary HashList where
43 arbitrary = HashArray <$> arbitrary 43 arbitrary = HashList <$> arbitrary
44 44
45instance Arbitrary PieceInfo where 45instance Arbitrary PieceInfo where
46 arbitrary = PieceInfo <$> arbitrary <*> arbitrary 46 arbitrary = PieceInfo <$> arbitrary <*> arbitrary