summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-01-08 10:51:45 +0100
committerAraq <rumpf_a@web.de>2012-01-08 10:51:45 +0100
commitf8721ed20e93fc09ae95469f981cfa7fd0a807f4 (patch)
treef69e2a2309a9301257f27b196e695c7baac2060c
parentf7c1bef7bbd5c8b710d064acc7a763f5047ee39a (diff)
downloadNim-f8721ed20e93fc09ae95469f981cfa7fd0a807f4.tar.gz
adapted titer4 test because of new implicit items/pairs iterators
-rwxr-xr-xtests/reject/titer4.nim4
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