diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Data/Torrent/MagnetSpec.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Data/Torrent/MagnetSpec.hs b/tests/Data/Torrent/MagnetSpec.hs index 048a1870..13554455 100644 --- a/tests/Data/Torrent/MagnetSpec.hs +++ b/tests/Data/Torrent/MagnetSpec.hs | |||
@@ -25,8 +25,8 @@ instance Arbitrary Magnet where | |||
25 | <*> arbitrary <*> arbitrary <*> arbitrary <*> arbitrary | 25 | <*> arbitrary <*> arbitrary <*> arbitrary <*> arbitrary |
26 | <*> arbitrary <*> arbitrary <*> pure mempty | 26 | <*> arbitrary <*> arbitrary <*> pure mempty |
27 | 27 | ||
28 | magnetEncoding :: Magnet -> Bool | 28 | magnetEncoding :: Magnet -> IO () |
29 | magnetEncoding m = parseMagnet (renderMagnet m) == Just m | 29 | magnetEncoding m = parseMagnet (renderMagnet m) `shouldBe` Just m |
30 | 30 | ||
31 | spec :: Spec | 31 | spec :: Spec |
32 | spec = do | 32 | spec = do |