From 7a892425de92efd88b98576e848bebc725a9bf14 Mon Sep 17 00:00:00 2001 From: Sam Truzjan Date: Fri, 4 Apr 2014 20:30:54 +0400 Subject: Move Infohash and Magnet to Torrent module --- tests/Network/BitTorrent/Client/HandleSpec.hs | 2 +- tests/Network/BitTorrent/DHT/TestData.hs | 2 +- tests/Network/BitTorrent/DHTSpec.hs | 2 +- tests/Network/BitTorrent/Exchange/ConnectionSpec.hs | 1 - tests/Network/BitTorrent/Tracker/TestData.hs | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) (limited to 'tests/Network') diff --git a/tests/Network/BitTorrent/Client/HandleSpec.hs b/tests/Network/BitTorrent/Client/HandleSpec.hs index 8e16d9b0..d51bab02 100644 --- a/tests/Network/BitTorrent/Client/HandleSpec.hs +++ b/tests/Network/BitTorrent/Client/HandleSpec.hs @@ -2,7 +2,7 @@ module Network.BitTorrent.Client.HandleSpec (spec) where import Data.Default import Test.Hspec -import Data.Torrent.Magnet +import Data.Torrent import Network.BitTorrent.Client import Network.BitTorrent.Client.Handle diff --git a/tests/Network/BitTorrent/DHT/TestData.hs b/tests/Network/BitTorrent/DHT/TestData.hs index 2e000a77..e9473cbb 100644 --- a/tests/Network/BitTorrent/DHT/TestData.hs +++ b/tests/Network/BitTorrent/DHT/TestData.hs @@ -3,7 +3,7 @@ module Network.BitTorrent.DHT.TestData , testTorrents ) where -import Data.Torrent.InfoHash +import Data.Torrent data TestEntry = TestEntry { entryName :: String diff --git a/tests/Network/BitTorrent/DHTSpec.hs b/tests/Network/BitTorrent/DHTSpec.hs index 76b48257..30abc867 100644 --- a/tests/Network/BitTorrent/DHTSpec.hs +++ b/tests/Network/BitTorrent/DHTSpec.hs @@ -6,7 +6,7 @@ import Data.List as L import Test.Hspec import System.Timeout -import Data.Torrent.InfoHash +import Data.Torrent import Network.BitTorrent.DHT diff --git a/tests/Network/BitTorrent/Exchange/ConnectionSpec.hs b/tests/Network/BitTorrent/Exchange/ConnectionSpec.hs index c21f55ef..ccbf2854 100644 --- a/tests/Network/BitTorrent/Exchange/ConnectionSpec.hs +++ b/tests/Network/BitTorrent/Exchange/ConnectionSpec.hs @@ -8,7 +8,6 @@ import Test.Hspec import Test.QuickCheck import Data.Torrent -import Data.Torrent.InfoHash import Network.BitTorrent.Core import Network.BitTorrent.Exchange.Connection import Network.BitTorrent.Exchange.Message diff --git a/tests/Network/BitTorrent/Tracker/TestData.hs b/tests/Network/BitTorrent/Tracker/TestData.hs index e0edba25..b95e2df4 100644 --- a/tests/Network/BitTorrent/Tracker/TestData.hs +++ b/tests/Network/BitTorrent/Tracker/TestData.hs @@ -12,7 +12,7 @@ import Data.Maybe import Data.String import Network.URI -import Data.Torrent.InfoHash +import Data.Torrent data TrackerEntry = TrackerEntry -- cgit v1.2.3