summaryrefslogtreecommitdiff
path: root/tests/typ/control
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/control')
-rw-r--r--tests/typ/control/let.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/control/let.typ b/tests/typ/control/let.typ
index 7752ec90..dd971ee5 100644
--- a/tests/typ/control/let.typ
+++ b/tests/typ/control/let.typ
@@ -18,8 +18,8 @@
---
// Syntax sugar for function definitions.
#let background = #239dad
-#let box(body) = box(width: 2cm, height: 1cm, color: background, body)
-#box[Hi!]
+#let rect(body) = rect(width: 2cm, height: 1cm, fill: background, body)
+#rect[Hi!]
// Error: 13 expected body
#let func(x)