diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-29 16:00:46 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-06-29 16:00:46 +0200 |
| commit | b2fb42cc7019b0269e892c4e39c52557252fecf9 (patch) | |
| tree | 940b7924a0b44e77821817563818829898dc4c39 /tests/typ/layout | |
| parent | 32a6b673bc4b73ade5863b0166c0779597cede5c (diff) | |
Make even more use of wide calls
Diffstat (limited to 'tests/typ/layout')
| -rw-r--r-- | tests/typ/layout/pad.typ | 5 | ||||
| -rw-r--r-- | tests/typ/layout/pagebreak.typ | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/tests/typ/layout/pad.typ b/tests/typ/layout/pad.typ index 17e5cb0b..05f9b359 100644 --- a/tests/typ/layout/pad.typ +++ b/tests/typ/layout/pad.typ @@ -6,9 +6,8 @@ // All sides together. #rect(fill: conifer)[ - #pad(10pt, right: 20pt)[ - #rect(width: 20pt, height: 20pt, fill: #eb5278) - ] + #pad!(10pt, right: 20pt) + #rect(width: 20pt, height: 20pt, fill: #eb5278) ] // Error: 13-23 missing argument: body diff --git a/tests/typ/layout/pagebreak.typ b/tests/typ/layout/pagebreak.typ index ac0a3833..b13a1bfd 100644 --- a/tests/typ/layout/pagebreak.typ +++ b/tests/typ/layout/pagebreak.typ @@ -13,8 +13,8 @@ A // Error: 16 cannot modify page from here #pagebreak() - // Error: 12-16 cannot modify page from here - #page!("a4") + // Error: 11-15 cannot modify page from here + #page("a4")[] ] C |
