diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-05 02:58:19 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-05 02:58:19 +0400 |
commit | 2ed8ba6370da4a216acbc58751e89773e8dfd1af (patch) | |
tree | 0ba4781185a0ee848a956e5ed49de11e4746b59b /tests/Network/BitTorrent | |
parent | 6eefd65b82bb277d84473d39618ca18a8cfe7152 (diff) |
Rename tracker Message module
Diffstat (limited to 'tests/Network/BitTorrent')
-rw-r--r-- | tests/Network/BitTorrent/Tracker/MessageSpec.hs (renamed from tests/Network/BitTorrent/Tracker/RPC/MessageSpec.hs) | 4 | ||||
-rw-r--r-- | tests/Network/BitTorrent/Tracker/RPC/HTTPSpec.hs | 2 | ||||
-rw-r--r-- | tests/Network/BitTorrent/Tracker/RPC/UDPSpec.hs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/Network/BitTorrent/Tracker/RPC/MessageSpec.hs b/tests/Network/BitTorrent/Tracker/MessageSpec.hs index f8cf052a..8ae1a1cc 100644 --- a/tests/Network/BitTorrent/Tracker/RPC/MessageSpec.hs +++ b/tests/Network/BitTorrent/Tracker/MessageSpec.hs | |||
@@ -1,6 +1,6 @@ | |||
1 | {-# LANGUAGE RecordWildCards #-} | 1 | {-# LANGUAGE RecordWildCards #-} |
2 | {-# OPTIONS -fno-warn-orphans #-} | 2 | {-# OPTIONS -fno-warn-orphans #-} |
3 | module Network.BitTorrent.Tracker.RPC.MessageSpec | 3 | module Network.BitTorrent.Tracker.MessageSpec |
4 | ( spec | 4 | ( spec |
5 | , validateInfo | 5 | , validateInfo |
6 | , arbitrarySample | 6 | , arbitrarySample |
@@ -18,7 +18,7 @@ import Data.Torrent.InfoHashSpec () | |||
18 | import Data.Torrent.ProgressSpec () | 18 | import Data.Torrent.ProgressSpec () |
19 | import Network.BitTorrent.Core.PeerIdSpec () | 19 | import Network.BitTorrent.Core.PeerIdSpec () |
20 | 20 | ||
21 | import Network.BitTorrent.Tracker.RPC.Message as Message | 21 | import Network.BitTorrent.Tracker.Message as Message |
22 | import Network.BitTorrent.Core.PeerAddr | 22 | import Network.BitTorrent.Core.PeerAddr |
23 | 23 | ||
24 | 24 | ||
diff --git a/tests/Network/BitTorrent/Tracker/RPC/HTTPSpec.hs b/tests/Network/BitTorrent/Tracker/RPC/HTTPSpec.hs index 141a2597..6ff68cdf 100644 --- a/tests/Network/BitTorrent/Tracker/RPC/HTTPSpec.hs +++ b/tests/Network/BitTorrent/Tracker/RPC/HTTPSpec.hs | |||
@@ -9,7 +9,7 @@ import Data.Maybe | |||
9 | import Network.URI | 9 | import Network.URI |
10 | import Test.Hspec | 10 | import Test.Hspec |
11 | 11 | ||
12 | import Network.BitTorrent.Tracker.RPC.MessageSpec hiding (spec) | 12 | import Network.BitTorrent.Tracker.MessageSpec hiding (spec) |
13 | import Network.BitTorrent.Tracker.RPC.HTTP | 13 | import Network.BitTorrent.Tracker.RPC.HTTP |
14 | 14 | ||
15 | 15 | ||
diff --git a/tests/Network/BitTorrent/Tracker/RPC/UDPSpec.hs b/tests/Network/BitTorrent/Tracker/RPC/UDPSpec.hs index 4954ee25..53babbb3 100644 --- a/tests/Network/BitTorrent/Tracker/RPC/UDPSpec.hs +++ b/tests/Network/BitTorrent/Tracker/RPC/UDPSpec.hs | |||
@@ -8,7 +8,7 @@ import Data.Maybe | |||
8 | import Network.URI | 8 | import Network.URI |
9 | import Test.Hspec | 9 | import Test.Hspec |
10 | 10 | ||
11 | import Network.BitTorrent.Tracker.RPC.MessageSpec hiding (spec) | 11 | import Network.BitTorrent.Tracker.MessageSpec hiding (spec) |
12 | import Network.BitTorrent.Tracker.RPC.UDP | 12 | import Network.BitTorrent.Tracker.RPC.UDP |
13 | 13 | ||
14 | 14 | ||