summaryrefslogtreecommitdiff
path: root/tests/typ/code/let.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-11-25 20:51:16 +0100
committerLaurenz <laurmaedje@gmail.com>2021-11-25 20:51:16 +0100
commit393d74f9bb0d4c71a69108d5be261103c39f47f3 (patch)
treea1d4219de2d8fbec1a16ac3760a95e0b7c9529c5 /tests/typ/code/let.typ
parent304d9dd1107504f3925c2593dd279ea6616defab (diff)
Layout improvements
Diffstat (limited to 'tests/typ/code/let.typ')
-rw-r--r--tests/typ/code/let.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/code/let.typ b/tests/typ/code/let.typ
index cd7531b7..7fd6e0da 100644
--- a/tests/typ/code/let.typ
+++ b/tests/typ/code/let.typ
@@ -11,7 +11,7 @@
// Syntax sugar for function definitions.
#let fill = conifer
-#let rect(body) = rect(width: 2cm, fill: fill, pad(5pt, body))
+#let rect(body) = rect(width: 2cm, fill: fill, padding: 5pt, body)
#rect[Hi!]
---