diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/properties.hs | 2 |
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 | |||
54 | data T a = T | 54 | data T a = T |
55 | 55 | ||
56 | prop_bencodable :: Eq a => BEncode a => T a -> a -> Bool | 56 | prop_bencodable :: Eq a => BEncode a => T a -> a -> Bool |
57 | prop_bencodable _ x = decoded (L.toStrict (encoded x)) == Right x | 57 | prop_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) |
60 | main :: IO () | 60 | main :: IO () |