summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Network/BitTorrent/DHT/SessionSpec.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Network/BitTorrent/DHT/SessionSpec.hs b/tests/Network/BitTorrent/DHT/SessionSpec.hs
index 3e197875..381aa77d 100644
--- a/tests/Network/BitTorrent/DHT/SessionSpec.hs
+++ b/tests/Network/BitTorrent/DHT/SessionSpec.hs
@@ -50,14 +50,14 @@ spec = do
50 50
51 describe "peer storage" $ do 51 describe "peer storage" $ do
52 it "should return nodes, if there are no peers" $ property $ \ ih -> do 52 it "should return nodes, if there are no peers" $ property $ \ ih -> do
53 nodes <- simpleDHT $ do getPeerList ih 53 res <- simpleDHT $ do getPeerList ih
54 nodes `shouldSatisfy` isLeft 54 res `shouldSatisfy` isLeft
55 55
56 it "should return peers, if any" $ property $ \ ih addr -> do 56 it "should return peers, if any" $ property $ \ ih addr -> do
57 peers <- simpleDHT $ do 57 res <- simpleDHT $ do
58 insertPeer ih addr 58 insertPeer ih addr
59 getPeerList ih 59 getPeerList ih
60 peers `shouldSatisfy` isRight 60 res `shouldSatisfy` isRight
61 61
62 describe "topic storage" $ do 62 describe "topic storage" $ do
63 return () 63 return ()