mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-06-06 17:59:50 +00:00
rpcserver must be before asyncdispatch for correct parsing
This commit is contained in:
parent
ebacff63a6
commit
9c1944977e
@ -1,4 +1,4 @@
|
|||||||
import unittest, asyncdispatch, json, tables, ../ rpcserver
|
import unittest, ../ rpcserver, asyncdispatch, json, tables
|
||||||
|
|
||||||
type
|
type
|
||||||
# some nested types to check object parsing
|
# some nested types to check object parsing
|
||||||
@ -121,5 +121,3 @@ suite "Server types":
|
|||||||
# wrong param type
|
# wrong param type
|
||||||
let res = waitFor rpcDifferentParams(%[%"abc", %1])
|
let res = waitFor rpcDifferentParams(%[%"abc", %1])
|
||||||
# TODO: When errors are proper return values, check error for param name
|
# TODO: When errors are proper return values, check error for param name
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user