mirror of
https://github.com/codex-storage/nim-json-rpc.git
synced 2025-02-24 00:48:12 +00:00
Updated paths
This commit is contained in:
parent
1cf3a930b5
commit
8a3aad64d1
@ -1,4 +1,4 @@
|
||||
import ../eth-rpc / rpcclient, ../eth-rpc / rpcserver,
|
||||
import ../ rpcclient, ../ rpcserver,
|
||||
asyncdispatch, json, unittest, tables
|
||||
|
||||
# TODO: dummy implementations of RPC calls handled in async fashion.
|
||||
@ -27,7 +27,8 @@ suite "RPC":
|
||||
test "Custom RPC":
|
||||
response = waitFor client.call("myProc", %[%"abc", %[1, 2, 3, 4]])
|
||||
check response.result.getStr == "Hello abc data: [1, 2, 3, 4]"
|
||||
|
||||
|
||||
|
||||
|
||||
waitFor main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user