diff options
author | Araq <rumpf_a@web.de> | 2011-02-20 20:12:22 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-02-20 20:12:22 +0100 |
commit | 2cdfe35e737291e65060e2f954d718316a969048 (patch) | |
tree | a39553bd397311c4601dde11be37c50ad99d81ab /tests/accept/run/titer3.nim | |
parent | cbee9c4e1a1252e6c809d25a0ef371ddee3fc802 (diff) | |
download | Nim-2cdfe35e737291e65060e2f954d718316a969048.tar.gz |
tests themselves contain the expected result
Diffstat (limited to 'tests/accept/run/titer3.nim')
-rwxr-xr-x | tests/accept/run/titer3.nim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/accept/run/titer3.nim b/tests/accept/run/titer3.nim index d0e121445..ab95dd7bd 100755 --- a/tests/accept/run/titer3.nim +++ b/tests/accept/run/titer3.nim @@ -1,3 +1,7 @@ +discard """ + file: "titer3.nim" + output: "1231" +""" iterator count1_3: int = yield 1 @@ -14,4 +18,5 @@ iterator iter1(a: openArray[int]): int = var x = [[1, 2, 3], [4, 5, 6]] for y in iter1(x[0]): write(stdout, $y) -#OUT 1231 \ No newline at end of file +#OUT 1231 + |