summaryrefslogtreecommitdiff
path: root/tests/lang/typ/block-invalid.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/typ/block-invalid.typ')
-rw-r--r--tests/lang/typ/block-invalid.typ18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/lang/typ/block-invalid.typ b/tests/lang/typ/block-invalid.typ
index cf51b91b..28874861 100644
--- a/tests/lang/typ/block-invalid.typ
+++ b/tests/lang/typ/block-invalid.typ
@@ -7,28 +7,28 @@
{1u}
// Should output `1`.
-// Error: 3-3 expected semicolon or line break
+// Error: 3 expected semicolon or line break
{0 1}
// Should output `2`.
-// Error: 2:13-2:13 expected semicolon or line break
-// Error: 1:24-1:24 expected semicolon or line break
-{#let x = -1 #let y = 3 x + y}
+// Error: 2:12 expected semicolon or line break
+// Error: 1:22 expected semicolon or line break
+{let x = -1 let y = 3 x + y}
// Should output `3`.
{
- // Error: 10-13 expected identifier, found string
- #for "v"
+ // Error: 9-12 expected identifier, found string
+ for "v"
- // Error: 11-11 expected keyword `#in`
- #for v #let z = 1 + 2
+ // Error: 10 expected keyword `#in`
+ for v let z = 1 + 2
z
}
---
// Ref: false
-// Error: 3:1-3:1 expected closing brace
+// Error: 3:1 expected closing brace
{
---