diff options
Diffstat (limited to 'tests/Network/BitTorrent')
-rw-r--r-- | tests/Network/BitTorrent/Exchange/SessionSpec.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Network/BitTorrent/Exchange/SessionSpec.hs b/tests/Network/BitTorrent/Exchange/SessionSpec.hs index 0eec8f41..c2c76644 100644 --- a/tests/Network/BitTorrent/Exchange/SessionSpec.hs +++ b/tests/Network/BitTorrent/Exchange/SessionSpec.hs | |||
@@ -16,7 +16,7 @@ simpleSession :: InfoDict -> (Session -> IO ()) -> IO () | |||
16 | simpleSession dict action = do | 16 | simpleSession dict action = do |
17 | withRemoteAddr $ \ addr -> do | 17 | withRemoteAddr $ \ addr -> do |
18 | myAddr <- getMyAddr | 18 | myAddr <- getMyAddr |
19 | ses <- newSession nullLogger myAddr "" dict | 19 | ses <- newSession nullLogger myAddr "" (Right dict) |
20 | connect addr ses | 20 | connect addr ses |
21 | action ses | 21 | action ses |
22 | closeSession ses | 22 | closeSession ses |