diff --git a/tests/testdaemon.nim b/tests/testdaemon.nim index 35e6035..50842dd 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