diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-04-04 21:16:34 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-04-04 21:16:34 +0400 |
commit | 88ef120511caae5ed74a48a87617b43aec4b7f76 (patch) | |
tree | b3bb561ea041a7da6c7168496a2e522b00b14456 /tests/Data | |
parent | 7a892425de92efd88b98576e848bebc725a9bf14 (diff) |
Move layout info to Torrent module
Diffstat (limited to 'tests/Data')
-rw-r--r-- | tests/Data/Torrent/LayoutSpec.hs | 2 | ||||
-rw-r--r-- | tests/Data/Torrent/MetainfoSpec.hs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/Data/Torrent/LayoutSpec.hs b/tests/Data/Torrent/LayoutSpec.hs index d3966b3f..a3fe7c02 100644 --- a/tests/Data/Torrent/LayoutSpec.hs +++ b/tests/Data/Torrent/LayoutSpec.hs | |||
@@ -7,7 +7,7 @@ import Test.Hspec | |||
7 | import Test.QuickCheck | 7 | import Test.QuickCheck |
8 | import System.Posix.Types | 8 | import System.Posix.Types |
9 | 9 | ||
10 | import Data.Torrent.Layout | 10 | import Data.Torrent |
11 | 11 | ||
12 | 12 | ||
13 | instance Arbitrary COff where | 13 | instance Arbitrary COff where |
diff --git a/tests/Data/Torrent/MetainfoSpec.hs b/tests/Data/Torrent/MetainfoSpec.hs index 369c5e0f..537b3f99 100644 --- a/tests/Data/Torrent/MetainfoSpec.hs +++ b/tests/Data/Torrent/MetainfoSpec.hs | |||
@@ -13,9 +13,8 @@ import Test.Hspec | |||
13 | import Test.QuickCheck | 13 | import Test.QuickCheck |
14 | import Test.QuickCheck.Instances () | 14 | import Test.QuickCheck.Instances () |
15 | 15 | ||
16 | import Data.Torrent.Piece | ||
17 | import Data.Torrent.Layout | ||
18 | import Data.Torrent | 16 | import Data.Torrent |
17 | import Data.Torrent.Piece | ||
19 | import Data.Torrent.LayoutSpec () | 18 | import Data.Torrent.LayoutSpec () |
20 | import Network.BitTorrent.Core.NodeInfoSpec () | 19 | import Network.BitTorrent.Core.NodeInfoSpec () |
21 | 20 | ||