diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Network/BitTorrent/Exchange/BitfieldSpec.hs (renamed from tests/Data/Torrent/BitfieldSpec.hs) | 4 | ||||
-rw-r--r-- | tests/Network/BitTorrent/Exchange/MessageSpec.hs | 2 | ||||
-rw-r--r-- | tests/System/Torrent/StorageSpec.hs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/Data/Torrent/BitfieldSpec.hs b/tests/Network/BitTorrent/Exchange/BitfieldSpec.hs index 093f6f19..234965fa 100644 --- a/tests/Data/Torrent/BitfieldSpec.hs +++ b/tests/Network/BitTorrent/Exchange/BitfieldSpec.hs | |||
@@ -1,10 +1,10 @@ | |||
1 | {-# OPTIONS -fno-warn-orphans #-} | 1 | {-# OPTIONS -fno-warn-orphans #-} |
2 | module Data.Torrent.BitfieldSpec (spec) where | 2 | module Network.BitTorrent.Exchange.BitfieldSpec (spec) where |
3 | import Control.Applicative | 3 | import Control.Applicative |
4 | import Test.Hspec | 4 | import Test.Hspec |
5 | import Test.QuickCheck | 5 | import Test.QuickCheck |
6 | 6 | ||
7 | import Data.Torrent.Bitfield | 7 | import Network.BitTorrent.Exchange.Bitfield |
8 | 8 | ||
9 | instance Arbitrary Bitfield where | 9 | instance Arbitrary Bitfield where |
10 | arbitrary = fromBitmap <$> arbitrary | 10 | arbitrary = fromBitmap <$> arbitrary |
diff --git a/tests/Network/BitTorrent/Exchange/MessageSpec.hs b/tests/Network/BitTorrent/Exchange/MessageSpec.hs index f82b034e..d615b1ff 100644 --- a/tests/Network/BitTorrent/Exchange/MessageSpec.hs +++ b/tests/Network/BitTorrent/Exchange/MessageSpec.hs | |||
@@ -11,7 +11,7 @@ import Test.Hspec | |||
11 | import Test.QuickCheck | 11 | import Test.QuickCheck |
12 | 12 | ||
13 | import Data.TorrentSpec () | 13 | import Data.TorrentSpec () |
14 | import Data.Torrent.BitfieldSpec () | 14 | import Network.BitTorrent.Exchange.BitfieldSpec () |
15 | import Network.BitTorrent.CoreSpec () | 15 | import Network.BitTorrent.CoreSpec () |
16 | import Network.BitTorrent.Address () | 16 | import Network.BitTorrent.Address () |
17 | import Network.BitTorrent.Exchange.BlockSpec () | 17 | import Network.BitTorrent.Exchange.BlockSpec () |
diff --git a/tests/System/Torrent/StorageSpec.hs b/tests/System/Torrent/StorageSpec.hs index 96f1b036..b5e49078 100644 --- a/tests/System/Torrent/StorageSpec.hs +++ b/tests/System/Torrent/StorageSpec.hs | |||
@@ -8,7 +8,7 @@ import System.IO.Unsafe | |||
8 | import Test.Hspec | 8 | import Test.Hspec |
9 | 9 | ||
10 | import Data.Torrent | 10 | import Data.Torrent |
11 | import Data.Torrent.Bitfield as BF | 11 | import Network.BitTorrent.Exchange.Bitfield as BF |
12 | import System.Torrent.Storage | 12 | import System.Torrent.Storage |
13 | 13 | ||
14 | 14 | ||