diff options
author | jim@bo <jim@bo> | 2018-06-20 03:08:45 -0400 |
---|---|---|
committer | jim@bo <jim@bo> | 2018-06-20 18:00:29 -0400 |
commit | 07202340d82fddc32f1cad82a437a438565cc2ba (patch) | |
tree | a836218263b4cb45ab3cc39ddeee5d24619ab976 /bittorrent/tests | |
parent | e1c7ba154a1010cf33ff4daa045d8f4542e2267c (diff) |
port to newer versions of packages:
* iproute >= 1.7.4
* conduit-extra >= 1.1.7
Diffstat (limited to 'bittorrent/tests')
-rw-r--r-- | bittorrent/tests/Network/BitTorrent/CoreSpec.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bittorrent/tests/Network/BitTorrent/CoreSpec.hs b/bittorrent/tests/Network/BitTorrent/CoreSpec.hs index 5bf900b2..e9b17a42 100644 --- a/bittorrent/tests/Network/BitTorrent/CoreSpec.hs +++ b/bittorrent/tests/Network/BitTorrent/CoreSpec.hs | |||
@@ -4,7 +4,11 @@ module Network.BitTorrent.CoreSpec (spec) where | |||
4 | import Control.Applicative | 4 | import Control.Applicative |
5 | import Data.BEncode as BE | 5 | import Data.BEncode as BE |
6 | import Data.ByteString.Lazy as BL | 6 | import Data.ByteString.Lazy as BL |
7 | #if MIN_VERSION_iproute(1,7,4) | ||
8 | import Data.IP hiding (fromSockAddr) | ||
9 | #else | ||
7 | import Data.IP | 10 | import Data.IP |
11 | #endif | ||
8 | import Data.Serialize as S | 12 | import Data.Serialize as S |
9 | import Data.String | 13 | import Data.String |
10 | import Data.Text.Encoding as T | 14 | import Data.Text.Encoding as T |
@@ -302,4 +306,4 @@ spec = do | |||
302 | fingerprint "-ML2.7.2-xxxxxxxxxxx" `shouldBe` "MLdonkey-0" | 306 | fingerprint "-ML2.7.2-xxxxxxxxxxx" `shouldBe` "MLdonkey-0" |
303 | 307 | ||
304 | -- TODO XBT, Bits on Wheels, Queen Bee, BitTyrant, TorrenTopia, | 308 | -- TODO XBT, Bits on Wheels, Queen Bee, BitTyrant, TorrenTopia, |
305 | -- BitSpirit, Rufus, G3 Torrent, FlashGet \ No newline at end of file | 309 | -- BitSpirit, Rufus, G3 Torrent, FlashGet |