From 14ef63294eeea14f09ba63f56a2707e7a9343613 Mon Sep 17 00:00:00 2001 From: coffeepots Date: Mon, 14 May 2018 16:31:32 +0100 Subject: [PATCH] fix `result not found` by changing import order... --- tests/testrpcmacro.nim | 2 +- tests/testserverclient.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testrpcmacro.nim b/tests/testrpcmacro.nim index d56ca54..a0681da 100644 --- a/tests/testrpcmacro.nim +++ b/tests/testrpcmacro.nim @@ -1,4 +1,4 @@ -import ../ rpcserver, unittest, asyncdispatch, json, tables +import unittest, asyncdispatch, json, tables, ../ rpcserver type # some nested types to check object parsing diff --git a/tests/testserverclient.nim b/tests/testserverclient.nim index 0b68cee..139c5aa 100644 --- a/tests/testserverclient.nim +++ b/tests/testserverclient.nim @@ -1,4 +1,4 @@ -import ../ rpcserver, ../ rpcclient, unittest, asyncdispatch, json, tables +import ../ rpcclient, ../ rpcserver, unittest, asyncdispatch, json, tables #[ TODO: Importing client before server causes the error: