diff options
author | Araq <rumpf_a@web.de> | 2012-01-08 10:51:45 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-01-08 10:51:45 +0100 |
commit | f8721ed20e93fc09ae95469f981cfa7fd0a807f4 (patch) | |
tree | f69e2a2309a9301257f27b196e695c7baac2060c | |
parent | f7c1bef7bbd5c8b710d064acc7a763f5047ee39a (diff) | |
download | Nim-f8721ed20e93fc09ae95469f981cfa7fd0a807f4.tar.gz |
adapted titer4 test because of new implicit items/pairs iterators
-rwxr-xr-x | tests/reject/titer4.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reject/titer4.nim b/tests/reject/titer4.nim index d9d885543..9b52f8055 100755 --- a/tests/reject/titer4.nim +++ b/tests/reject/titer4.nim @@ -3,8 +3,8 @@ discard """ line: 7 errormsg: "iterator within for loop context expected" """ - -for x in {'a'..'z'}: #ERROR_MSG iterator within for loop context expected +# implicit items/pairs, but not if we have 3 for loop vars: +for x, y, z in {'a'..'z'}: #ERROR_MSG iterator within for loop context expected nil |