summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/for.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-20 14:05:17 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-20 14:05:35 +0100
commitdd331f007cb9c9968605f8d3eaef8fb498c21322 (patch)
treef1b1490758ec53fd204724a325158d16c980d131 /tests/typ/compiler/for.typ
parent40561e57fbbc68becac07acd54a34f94f591f277 (diff)
Rewrite parser
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`