summaryrefslogtreecommitdiff
path: root/tests/Network/BitTorrent/Core
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2014-04-08 02:36:18 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2014-04-08 02:36:18 +0400
commit75711985512c8578e913a1b464816968b4aef5dd (patch)
tree5ab77d69af0e9bc315b58f1df6ba100e318adfce /tests/Network/BitTorrent/Core
parent7e597cd924d2149b10f900c7dc14ce6e1e321cb5 (diff)
Merge PeerAddr and NodeAddr modules
Diffstat (limited to 'tests/Network/BitTorrent/Core')
-rw-r--r--tests/Network/BitTorrent/Core/FingerprintSpec.hs2
-rw-r--r--tests/Network/BitTorrent/Core/NodeInfoSpec.hs2
-rw-r--r--tests/Network/BitTorrent/Core/PeerAddrSpec.hs4
-rw-r--r--tests/Network/BitTorrent/Core/PeerIdSpec.hs2
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>
2module Network.BitTorrent.Core.FingerprintSpec (spec) where 2module Network.BitTorrent.Core.FingerprintSpec (spec) where
3import Test.Hspec 3import Test.Hspec
4import Network.BitTorrent.Core.PeerId 4import Network.BitTorrent.Address
5 5
6spec :: Spec 6spec :: Spec
7spec = do 7spec = 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
6import Test.Hspec 6import Test.Hspec
7import Test.QuickCheck 7import Test.QuickCheck
8 8
9import Network.BitTorrent.Core 9import Network.BitTorrent.Address
10import Network.BitTorrent.Core.PeerAddrSpec () 10import Network.BitTorrent.Core.PeerAddrSpec ()
11 11
12instance Arbitrary NodeId where 12instance 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
11import Test.Hspec 11import Test.Hspec
12import Test.QuickCheck 12import Test.QuickCheck
13 13
14import Network.BitTorrent.Core.PeerIdSpec hiding (spec) 14import Network.BitTorrent.Core.PeerIdSpec ()
15import Network.BitTorrent.Core.PeerAddr 15import Network.BitTorrent.Address
16 16
17instance Arbitrary IPv4 where 17instance 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
6import Test.Hspec 6import Test.Hspec
7import Test.QuickCheck 7import Test.QuickCheck
8import Test.QuickCheck.Instances () 8import Test.QuickCheck.Instances ()
9import Network.BitTorrent.Core.PeerId 9import Network.BitTorrent.Address
10 10
11 11
12instance Arbitrary PeerId where 12instance Arbitrary PeerId where