summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/while.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-17 16:32:48 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-17 16:32:48 +0100
commit028632a3a10202ee21eaaf7ecf13ca7fe331106e (patch)
treeecba2b74b52b2c94b8ccf63dc8099d8ef608081c /tests/typ/compiler/while.typ
parentdd5f07eb9110cc5e19dcb4441743a323128426fc (diff)
Fix error handling after hashtag
Diffstat (limited to 'tests/typ/compiler/while.typ')
-rw-r--r--tests/typ/compiler/while.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/compiler/while.typ b/tests/typ/compiler/while.typ
index 8070d2e0..9eea2c37 100644
--- a/tests/typ/compiler/while.typ
+++ b/tests/typ/compiler/while.typ
@@ -4,7 +4,7 @@
// Should output `2 4 6 8 10`.
#let i = 0
#while i < 10 [
- #{ i += 2 }
+ #(i += 2)
#i
]
@@ -26,7 +26,7 @@
#test(while false {}, none)
#let i = 0
-#test(type(while i < 1 [#{ i += 1 }]), "content")
+#test(type(while i < 1 [#(i += 1)]), "content")
---
// Condition must be boolean.