diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typ/elements/square.typ | 4 | ||||
| -rw-r--r-- | tests/typ/layout/stack.typ | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/elements/square.typ b/tests/typ/elements/square.typ index 07dce4be..7597cb22 100644 --- a/tests/typ/elements/square.typ +++ b/tests/typ/elements/square.typ @@ -29,6 +29,6 @@ ] --- -// Length wins over width and height. +// Size wins over width and height. // Error: 09-20 unexpected argument -#square(width: 10cm, height: 20cm, length: 1cm, fill: rgb("eb5278")) +#square(width: 10cm, height: 20cm, size: 1cm, fill: rgb("eb5278")) diff --git a/tests/typ/layout/stack.typ b/tests/typ/layout/stack.typ index aee66d6a..a6e7e001 100644 --- a/tests/typ/layout/stack.typ +++ b/tests/typ/layout/stack.typ @@ -28,7 +28,7 @@ #page(width: 50pt, margins: 0pt) #par(spacing: 5pt) -#let x = square(length: 10pt, fill: eastern) +#let x = square(size: 10pt, fill: eastern) #stack(dir: rtl, spacing: 5pt, x, x, x) #stack(dir: ltr, x, 20%, x, 20%, x) #stack(dir: ltr, spacing: 5pt, x, x, 7pt, 3pt, x) |
