summaryrefslogtreecommitdiff
path: root/tests/Client.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Client.hs')
-rw-r--r--tests/Client.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Client.hs b/tests/Client.hs
index 1b9ef8d2..313cd56e 100644
--- a/tests/Client.hs
+++ b/tests/Client.hs
@@ -5,6 +5,7 @@ import Control.Concurrent
5import Control.Exception 5import Control.Exception
6import qualified Data.ByteString as B 6import qualified Data.ByteString as B
7import Data.BEncode 7import Data.BEncode
8import Data.Map
8import System.Environment 9import System.Environment
9import System.Process 10import System.Process
10import System.FilePath 11import System.FilePath
@@ -69,4 +70,11 @@ tests =
69 70
70 , testCase "raw method" $ 71 , testCase "raw method" $
71 BInteger 10 ==? call addr rawM (BInteger 10) 72 BInteger 10 ==? call addr rawM (BInteger 10)
73
74 , testCase "raw dict" $
75 let dict = BDict $ fromList
76 [ ("some_int", BInteger 100)
77 , ("some_list", BList [BInteger 10])
78 ]
79 in dict ==? call addr rawDictM dict
72 ] 80 ]