summaryrefslogtreecommitdiff
path: root/tests/Network/BitTorrent/DHT/TokenSpec.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Network/BitTorrent/DHT/TokenSpec.hs')
-rw-r--r--tests/Network/BitTorrent/DHT/TokenSpec.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/Network/BitTorrent/DHT/TokenSpec.hs b/tests/Network/BitTorrent/DHT/TokenSpec.hs
new file mode 100644
index 00000000..90ff0f03
--- /dev/null
+++ b/tests/Network/BitTorrent/DHT/TokenSpec.hs
@@ -0,0 +1,14 @@
1{-# OPTIONS_GHC -fno-warn-orphans #-}
2module Network.BitTorrent.DHT.TokenSpec (spec) where
3import Control.Applicative
4import Data.String
5import Test.Hspec
6import Test.QuickCheck
7import Network.BitTorrent.DHT.Token
8
9
10instance Arbitrary Token where
11 arbitrary = fromString <$> arbitrary
12
13spec :: Spec
14spec = return () \ No newline at end of file