diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2024-02-21 04:05:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 09:05:40 +0000 |
| commit | f54d68daffa047105eb8abb3e93c9bfa5d530260 (patch) | |
| tree | 84ddbbfc16395e9eda4dbae2eaae50a09ed00dc3 /tests | |
| parent | d0dd81cddf0fce9bbbd078498eec001268fe3e9c (diff) | |
Use `Outer(H|V)Alignment` to constraint types (#3465)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typ/layout/page-number-align.typ | 2 | ||||
| -rw-r--r-- | tests/typ/meta/figure-caption.typ | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/typ/layout/page-number-align.typ b/tests/typ/layout/page-number-align.typ index 0e9b2bc9..7559dd65 100644 --- a/tests/typ/layout/page-number-align.typ +++ b/tests/typ/layout/page-number-align.typ @@ -21,5 +21,5 @@ #block(width: 100%, height: 100%, fill: aqua.lighten(50%)) --- -// Error: 25-39 page number cannot be `horizon`-aligned +// Error: 25-39 expected `top` or `bottom`, found horizon #set page(number-align: left + horizon) diff --git a/tests/typ/meta/figure-caption.typ b/tests/typ/meta/figure-caption.typ index 2a12cc22..0188ebca 100644 --- a/tests/typ/meta/figure-caption.typ +++ b/tests/typ/meta/figure-caption.typ @@ -54,3 +54,11 @@ caption: [Hi], supplement: [B], ) + +--- +// Ref: false +#set figure.caption(position: top) + +--- +// Error: 31-38 expected `top` or `bottom`, found horizon +#set figure.caption(position: horizon) |
