From f8721ed20e93fc09ae95469f981cfa7fd0a807f4 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 8 Jan 2012 10:51:45 +0100 Subject: [PATCH] adapted titer4 test because of new implicit items/pairs iterators --- tests/reject/titer4.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/reject/titer4.nim b/tests/reject/titer4.nim index d9d8855439..9b52f8055b 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