mirror of
https://github.com/codex-storage/nim-json-rpc.git
synced 2025-02-24 00:48:12 +00:00
Add missing RPC test
This commit is contained in:
parent
687c577942
commit
1212861547
@ -21,5 +21,7 @@ suite "RPC Errors":
|
|||||||
let
|
let
|
||||||
malformedJson = "{field: 2, \"field: 3}\n"
|
malformedJson = "{field: 2, \"field: 3}\n"
|
||||||
res = waitFor client.rawCall("rpc", malformedJson)
|
res = waitFor client.rawCall("rpc", malformedJson)
|
||||||
info "res", res
|
test "Missing RPC":
|
||||||
|
#expect:
|
||||||
|
let res = waitFor client.call("phantomRpc", %[])
|
||||||
|
echo ">>", res
|
||||||
|
Loading…
x
Reference in New Issue
Block a user