summary refs log tree commit diff stats
path: root/tests/async
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-13 15:21:14 +0100
committerAraq <rumpf_a@web.de>2018-11-23 11:58:28 +0100
commit031bfdec6f7798b99cc7bf9473a08048228c3d2a (patch)
treebd9b3ee9fbbaca154f37649f7f3cabe59cfdc349 /tests/async
parent610283b9b0d48b1714bef2969b402b77410ce4dd (diff)
downloadNim-031bfdec6f7798b99cc7bf9473a08048228c3d2a.tar.gz
make run the default action of a test in tester
Diffstat (limited to 'tests/async')
-rw-r--r--tests/async/tasyncssl.nim2
-rw-r--r--tests/async/tfuturevar.nim6
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()
-