diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-11-13 15:21:14 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-11-23 11:58:28 +0100 |
commit | 031bfdec6f7798b99cc7bf9473a08048228c3d2a (patch) | |
tree | bd9b3ee9fbbaca154f37649f7f3cabe59cfdc349 /tests/async | |
parent | 610283b9b0d48b1714bef2969b402b77410ce4dd (diff) | |
download | Nim-031bfdec6f7798b99cc7bf9473a08048228c3d2a.tar.gz |
make run the default action of a test in tester
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() - |