summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/for.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler/for.typ')
-rw-r--r--tests/typ/compiler/for.typ9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/typ/compiler/for.typ b/tests/typ/compiler/for.typ
index f63b870e..7a530b73 100644
--- a/tests/typ/compiler/for.typ
+++ b/tests/typ/compiler/for.typ
@@ -94,7 +94,7 @@
// Error: 5 expected identifier
#for
-// Error: 7 expected identifier
+// Error: 5 expected identifier
#for//
// Error: 5 expected identifier
@@ -106,17 +106,18 @@
// Error: 10 expected expression
#for v in
-// Error: 15 expected body
+// Error: 15 expected block
#for v in iter
// Error: 5 expected identifier
#for
v in iter {}
-// Error: 7-10 expected identifier, found string
+// Error: 6 expected identifier
+// Error: 10 expected block
A#for "v" thing
-// Error: 6-9 expected identifier, found string
+// Error: 5 expected identifier
#for "v" in iter {}
// Error: 7 expected keyword `in`