summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/if.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/if.typ
parent40561e57fbbc68becac07acd54a34f94f591f277 (diff)
Rewrite parser
Diffstat (limited to 'tests/typ/compiler/if.typ')
-rw-r--r--tests/typ/compiler/if.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/compiler/if.typ b/tests/typ/compiler/if.typ
index 0d87c689..3b35ebd8 100644
--- a/tests/typ/compiler/if.typ
+++ b/tests/typ/compiler/if.typ
@@ -112,7 +112,7 @@
// Error: 4 expected expression
{if}
-// Error: 6 expected body
+// Error: 6 expected block
#if x
// Error: 1-6 unexpected keyword `else`
@@ -124,11 +124,11 @@
x {}
// Should output `something`.
-// Error: 6 expected body
+// Error: 6 expected block
#if x something
// Should output `A thing.`
-// Error: 19 expected body
+// Error: 19 expected block
A#if false {} else thing
#if a []else [b]