summaryrefslogtreecommitdiff
path: root/tests/Data/Torrent
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-12-17 16:10:38 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-12-17 16:10:38 +0400
commit8bff89d4dd6354288c8b01395bcf6103c6edfe19 (patch)
treee5c05ec91b6a53a33c92058fa1d8a3b131cd523b /tests/Data/Torrent
parentbb5919727f99eca515cd5306debaa4c43696bdc3 (diff)
Add the nodes field to torrent file
Diffstat (limited to 'tests/Data/Torrent')
-rw-r--r--tests/Data/Torrent/MetainfoSpec.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Data/Torrent/MetainfoSpec.hs b/tests/Data/Torrent/MetainfoSpec.hs
index b5716e07..d2e0e52e 100644
--- a/tests/Data/Torrent/MetainfoSpec.hs
+++ b/tests/Data/Torrent/MetainfoSpec.hs
@@ -17,6 +17,7 @@ import Data.Torrent.Piece
17import Data.Torrent.Layout 17import Data.Torrent.Layout
18import Data.Torrent 18import Data.Torrent
19import Data.Torrent.LayoutSpec () 19import Data.Torrent.LayoutSpec ()
20import Network.BitTorrent.Core.NodeSpec ()
20 21
21{----------------------------------------------------------------------- 22{-----------------------------------------------------------------------
22-- Common 23-- Common
@@ -57,6 +58,7 @@ instance Arbitrary Torrent where
57 arbitrary = Torrent <$> arbitrary 58 arbitrary = Torrent <$> arbitrary
58 <*> arbitrary <*> arbitrary <*> arbitrary 59 <*> arbitrary <*> arbitrary <*> arbitrary
59 <*> pico <*> arbitrary <*> arbitrary 60 <*> pico <*> arbitrary <*> arbitrary
61 <*> arbitrary
60 <*> arbitrary <*> pure Nothing <*> arbitrary 62 <*> arbitrary <*> pure Nothing <*> arbitrary
61 63
62{----------------------------------------------------------------------- 64{-----------------------------------------------------------------------