diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-04-08 02:36:18 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-04-08 02:36:18 +0400 |
commit | 75711985512c8578e913a1b464816968b4aef5dd (patch) | |
tree | 5ab77d69af0e9bc315b58f1df6ba100e318adfce /tests/Network/BitTorrent/Core | |
parent | 7e597cd924d2149b10f900c7dc14ce6e1e321cb5 (diff) |
Merge PeerAddr and NodeAddr modules
Diffstat (limited to 'tests/Network/BitTorrent/Core')
-rw-r--r-- | tests/Network/BitTorrent/Core/FingerprintSpec.hs | 2 | ||||
-rw-r--r-- | tests/Network/BitTorrent/Core/NodeInfoSpec.hs | 2 | ||||
-rw-r--r-- | tests/Network/BitTorrent/Core/PeerAddrSpec.hs | 4 | ||||
-rw-r--r-- | tests/Network/BitTorrent/Core/PeerIdSpec.hs | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/Network/BitTorrent/Core/FingerprintSpec.hs b/tests/Network/BitTorrent/Core/FingerprintSpec.hs index df62442a..f8ed6950 100644 --- a/tests/Network/BitTorrent/Core/FingerprintSpec.hs +++ b/tests/Network/BitTorrent/Core/FingerprintSpec.hs | |||
@@ -1,7 +1,7 @@ | |||
1 | -- | see <http://bittorrent.org/beps/bep_0020.html> | 1 | -- | see <http://bittorrent.org/beps/bep_0020.html> |
2 | module Network.BitTorrent.Core.FingerprintSpec (spec) where | 2 | module Network.BitTorrent.Core.FingerprintSpec (spec) where |
3 | import Test.Hspec | 3 | import Test.Hspec |
4 | import Network.BitTorrent.Core.PeerId | 4 | import Network.BitTorrent.Address |
5 | 5 | ||
6 | spec :: Spec | 6 | spec :: Spec |
7 | spec = do | 7 | spec = do |
diff --git a/tests/Network/BitTorrent/Core/NodeInfoSpec.hs b/tests/Network/BitTorrent/Core/NodeInfoSpec.hs index fb777440..0d30b9a6 100644 --- a/tests/Network/BitTorrent/Core/NodeInfoSpec.hs +++ b/tests/Network/BitTorrent/Core/NodeInfoSpec.hs | |||
@@ -6,7 +6,7 @@ import Data.String | |||
6 | import Test.Hspec | 6 | import Test.Hspec |
7 | import Test.QuickCheck | 7 | import Test.QuickCheck |
8 | 8 | ||
9 | import Network.BitTorrent.Core | 9 | import Network.BitTorrent.Address |
10 | import Network.BitTorrent.Core.PeerAddrSpec () | 10 | import Network.BitTorrent.Core.PeerAddrSpec () |
11 | 11 | ||
12 | instance Arbitrary NodeId where | 12 | instance Arbitrary NodeId where |
diff --git a/tests/Network/BitTorrent/Core/PeerAddrSpec.hs b/tests/Network/BitTorrent/Core/PeerAddrSpec.hs index abb90183..387126db 100644 --- a/tests/Network/BitTorrent/Core/PeerAddrSpec.hs +++ b/tests/Network/BitTorrent/Core/PeerAddrSpec.hs | |||
@@ -11,8 +11,8 @@ import Network | |||
11 | import Test.Hspec | 11 | import Test.Hspec |
12 | import Test.QuickCheck | 12 | import Test.QuickCheck |
13 | 13 | ||
14 | import Network.BitTorrent.Core.PeerIdSpec hiding (spec) | 14 | import Network.BitTorrent.Core.PeerIdSpec () |
15 | import Network.BitTorrent.Core.PeerAddr | 15 | import Network.BitTorrent.Address |
16 | 16 | ||
17 | instance Arbitrary IPv4 where | 17 | instance Arbitrary IPv4 where |
18 | arbitrary = do | 18 | arbitrary = do |
diff --git a/tests/Network/BitTorrent/Core/PeerIdSpec.hs b/tests/Network/BitTorrent/Core/PeerIdSpec.hs index 4b0c2398..29b98bbc 100644 --- a/tests/Network/BitTorrent/Core/PeerIdSpec.hs +++ b/tests/Network/BitTorrent/Core/PeerIdSpec.hs | |||
@@ -6,7 +6,7 @@ import Data.Text.Encoding as T | |||
6 | import Test.Hspec | 6 | import Test.Hspec |
7 | import Test.QuickCheck | 7 | import Test.QuickCheck |
8 | import Test.QuickCheck.Instances () | 8 | import Test.QuickCheck.Instances () |
9 | import Network.BitTorrent.Core.PeerId | 9 | import Network.BitTorrent.Address |
10 | 10 | ||
11 | 11 | ||
12 | instance Arbitrary PeerId where | 12 | instance Arbitrary PeerId where |