diff options
Diffstat (limited to 'tests/async')
-rw-r--r-- | tests/async/tasyncssl.nim | 2 | ||||
-rw-r--r-- | tests/async/tfuturevar.nim | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/async/tasyncssl.nim b/tests/async/tasyncssl.nim index 61f0b5661..b82197657 100644 --- a/tests/async/tasyncssl.nim +++ b/tests/async/tasyncssl.nim @@ -63,5 +63,3 @@ when defined(ssl): assert msgCount == swarmSize * messagesToSend echo msgCount - - diff --git a/tests/async/tfuturevar.nim b/tests/async/tfuturevar.nim index ea2c63e03..9e3134261 100644 --- a/tests/async/tfuturevar.nim +++ b/tests/async/tfuturevar.nim @@ -1,3 +1,8 @@ +discard """ +action: compile +""" +# XXX: action should be run! + import asyncdispatch proc completeOnReturn(fut: FutureVar[string], x: bool) {.async.} = @@ -44,4 +49,3 @@ proc main() {.async.} = waitFor main() - |