summaryrefslogtreecommitdiff
path: root/tests/Network/BitTorrent
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Network/BitTorrent')
-rw-r--r--tests/Network/BitTorrent/Tracker/MessageSpec.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Network/BitTorrent/Tracker/MessageSpec.hs b/tests/Network/BitTorrent/Tracker/MessageSpec.hs
index 8ae1a1cc..ac770905 100644
--- a/tests/Network/BitTorrent/Tracker/MessageSpec.hs
+++ b/tests/Network/BitTorrent/Tracker/MessageSpec.hs
@@ -46,7 +46,7 @@ validateInfo AnnounceQuery {..} AnnounceInfo {..} = do
46 respIncomplete `shouldSatisfy` isJust 46 respIncomplete `shouldSatisfy` isJust
47 respMinInterval `shouldSatisfy` isNothing 47 respMinInterval `shouldSatisfy` isNothing
48 respWarning `shouldSatisfy` isNothing 48 respWarning `shouldSatisfy` isNothing
49 peerList `shouldSatisfy` L.all (isNothing . peerID) 49 peerList `shouldSatisfy` L.all (isNothing . peerId)
50 fromJust respComplete + fromJust respIncomplete `shouldBe` L.length peerList 50 fromJust respComplete + fromJust respIncomplete `shouldBe` L.length peerList
51 where 51 where
52 peerList = getPeerList respPeers 52 peerList = getPeerList respPeers