From 9c1944977e04e3bd54fce27c49cfdf8f8c5a0533 Mon Sep 17 00:00:00 2001 From: coffeepots Date: Tue, 15 May 2018 19:06:05 +0100 Subject: [PATCH] rpcserver must be before asyncdispatch for correct parsing --- tests/testrpcmacro.nim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/testrpcmacro.nim b/tests/testrpcmacro.nim index a0681da..d4d2665 100644 --- a/tests/testrpcmacro.nim +++ b/tests/testrpcmacro.nim @@ -1,4 +1,4 @@ -import unittest, asyncdispatch, json, tables, ../ rpcserver +import unittest, ../ rpcserver, asyncdispatch, json, tables type # some nested types to check object parsing @@ -121,5 +121,3 @@ suite "Server types": # wrong param type let res = waitFor rpcDifferentParams(%[%"abc", %1]) # TODO: When errors are proper return values, check error for param name - -