summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/while.typ
diff options
context:
space:
mode:
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.