summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@gmail.com>2017-02-10 18:57:43 +0100
committerDominik Picheta <dominikpicheta@gmail.com>2017-02-10 18:57:43 +0100
commitd87fb236d101b9c1bc14f18fe17798cc214a9620 (patch)
treec0179ba205ecfb487d57d324680a76ffb1f2f017
parent7766fdfec1993129da4a84a93c1c09aadfc9a6d6 (diff)
downloadNim-d87fb236d101b9c1bc14f18fe17798cc214a9620.tar.gz
Add test spec to tfuturestream
-rw-r--r--tests/async/tfuturestream.nim14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/async/tfuturestream.nim b/tests/async/tfuturestream.nim
index 35dde2f9d..e3480126f 100644
--- a/tests/async/tfuturestream.nim
+++ b/tests/async/tfuturestream.nim
@@ -1,3 +1,17 @@
+discard """
+  file: "tfuturestream.nim"
+  exitcode: 0
+  output: '''
+0
+1
+2
+3
+4
+5
+Done
+Finished
+'''
+"""
 import asyncdispatch
 
 var fs = newFutureStream[string]()