From deedc37fb3f8afe97a1bd263c0c6560a7c6aa945 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Mon, 19 Nov 2018 06:42:50 +0200 Subject: [PATCH] Fix test. --- tests/testdaemon.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testdaemon.nim b/tests/testdaemon.nim index 35e603519..50842dd7c 100644 --- a/tests/testdaemon.nim +++ b/tests/testdaemon.nim @@ -11,4 +11,5 @@ proc identitySpawnTest(): Future[bool] {.async.} = when isMainModule: suite "libp2p-daemon test suite": test "Simple spawn and get identity test": - waitFor identitySpawnTest() == true + check: + waitFor(identitySpawnTest()) == true