From 12128615470adad7d595039647f98909c8e72510 Mon Sep 17 00:00:00 2001 From: coffeepots Date: Tue, 12 Jun 2018 09:14:24 +0100 Subject: [PATCH] Add missing RPC test --- tests/testerrors.nim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/testerrors.nim b/tests/testerrors.nim index 7390591..ea9fced 100644 --- a/tests/testerrors.nim +++ b/tests/testerrors.nim @@ -21,5 +21,7 @@ suite "RPC Errors": let malformedJson = "{field: 2, \"field: 3}\n" res = waitFor client.rawCall("rpc", malformedJson) - info "res", res - + test "Missing RPC": + #expect: + let res = waitFor client.call("phantomRpc", %[]) + echo ">>", res