diff options
Diffstat (limited to 'tests/typ')
| -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) |
