summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/properties.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/properties.hs b/tests/properties.hs
index 586e94d..3d08eed 100644
--- a/tests/properties.hs
+++ b/tests/properties.hs
@@ -54,7 +54,7 @@ instance Arbitrary FileInfo where
54data T a = T 54data T a = T
55 55
56prop_bencodable :: Eq a => BEncode a => T a -> a -> Bool 56prop_bencodable :: Eq a => BEncode a => T a -> a -> Bool
57prop_bencodable _ x = decoded (L.toStrict (encoded x)) == Right x 57prop_bencodable _ x = decode (L.toStrict (encode x)) == Right x
58 58
59-- All tests are (encode >>> decode = id) 59-- All tests are (encode >>> decode = id)
60main :: IO () 60main :: IO ()