diff options
Diffstat (limited to 'tests/Network/BitTorrent/DHT/TokenSpec.hs')
-rw-r--r-- | tests/Network/BitTorrent/DHT/TokenSpec.hs | 14 |
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 #-} | ||
2 | module Network.BitTorrent.DHT.TokenSpec (spec) where | ||
3 | import Control.Applicative | ||
4 | import Data.String | ||
5 | import Test.Hspec | ||
6 | import Test.QuickCheck | ||
7 | import Network.BitTorrent.DHT.Token | ||
8 | |||
9 | |||
10 | instance Arbitrary Token where | ||
11 | arbitrary = fromString <$> arbitrary | ||
12 | |||
13 | spec :: Spec | ||
14 | spec = return () \ No newline at end of file | ||