summary refs log tree commit diff stats
path: root/tests/accept/run/titer6.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-02-20 20:12:22 +0100
committerAraq <rumpf_a@web.de>2011-02-20 20:12:22 +0100
commit2cdfe35e737291e65060e2f954d718316a969048 (patch)
treea39553bd397311c4601dde11be37c50ad99d81ab /tests/accept/run/titer6.nim
parentcbee9c4e1a1252e6c809d25a0ef371ddee3fc802 (diff)
downloadNim-2cdfe35e737291e65060e2f954d718316a969048.tar.gz
tests themselves contain the expected result
Diffstat (limited to 'tests/accept/run/titer6.nim')
-rwxr-xr-xtests/accept/run/titer6.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/titer6.nim b/tests/accept/run/titer6.nim
index 8a1d9cf1b..fa58e9a6c 100755
--- a/tests/accept/run/titer6.nim
+++ b/tests/accept/run/titer6.nim
@@ -1,3 +1,7 @@
+discard """
+  file: "titer6.nim"
+  output: "000"
+"""
 # Test iterator with more than 1 yield statement
 
 import strutils
@@ -29,3 +33,5 @@ proc wordWrap2(s: string, maxLineWidth = 80,
   for word, isSep in tokenize2(s, seps):
     var w = 0 

 
+
+