diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-02-25 14:52:40 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-02-25 14:52:40 +0400 |
commit | 7627d4dda31ddbececa4c80b340026da9e06c80e (patch) | |
tree | 086ad7d20f843759dcf12dfc7a1f9e56b70a5436 /tests/Network | |
parent | e5a007173eda61ed8a2865aba2638eaf4cc783ef (diff) |
Implement getConnectionConfig
Diffstat (limited to 'tests/Network')
-rw-r--r-- | tests/Network/BitTorrent/Exchange/WireSpec.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Network/BitTorrent/Exchange/WireSpec.hs b/tests/Network/BitTorrent/Exchange/WireSpec.hs index 550c20f9..293e1bd6 100644 --- a/tests/Network/BitTorrent/Exchange/WireSpec.hs +++ b/tests/Network/BitTorrent/Exchange/WireSpec.hs | |||
@@ -16,8 +16,8 @@ import Network.BitTorrent.Exchange.Wire | |||
16 | import Config | 16 | import Config |
17 | import Network.BitTorrent.Exchange.MessageSpec () | 17 | import Network.BitTorrent.Exchange.MessageSpec () |
18 | 18 | ||
19 | nullSession :: InfoHash -> PeerId -> ConnectionSession () | 19 | nullSession :: InfoHash -> PeerId -> SessionLink () |
20 | nullSession ih pid = ConnectionSession ih pid Nothing Nothing () | 20 | nullSession ih pid = SessionLink ih pid Nothing Nothing () |
21 | 21 | ||
22 | instance Arbitrary Options where | 22 | instance Arbitrary Options where |
23 | arbitrary = return def | 23 | arbitrary = return def |