diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-03-17 22:08:44 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-03-17 22:08:44 +0100 |
| commit | 8cdfc7faafc1d8df60d44e5db9d1c9e26345675b (patch) | |
| tree | 1c499081c972c2fd280a0fc6a820c07caf79c283 /tests/typ/control | |
| parent | 271b0f953b35ab2c0281b5f728798204accc412f (diff) | |
Rename box to rect and color to fill ✏
Diffstat (limited to 'tests/typ/control')
| -rw-r--r-- | tests/typ/control/let.typ | 4 |
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) |
