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