Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Feb 2, 2025
1 parent 330033b commit 050bdcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hyperx/testutils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ template testAsync*(name: string, body: untyped): untyped =
proc test() {.async.} =
body
checked = true
discard getGlobalDispatcher()
waitFor test()
# check there are no dangling async futures
doAssert not hasPendingOperations()
Expand Down

0 comments on commit 050bdcc

Please sign in to comment.