diff options
Diffstat (limited to 'tests/typ/layout/align.typ')
| -rw-r--r-- | tests/typ/layout/align.typ | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/typ/layout/align.typ b/tests/typ/layout/align.typ index 753683de..98ee8da5 100644 --- a/tests/typ/layout/align.typ +++ b/tests/typ/layout/align.typ @@ -35,9 +35,9 @@ --- // Ref: false -#test(type(center), "alignment") -#test(type(horizon), "alignment") -#test(type(center + horizon), "2d alignment") +#test(type(center), alignment) +#test(type(horizon), alignment) +#test(type(center + horizon), alignment) --- // Error: 8-22 cannot add two horizontal alignments @@ -46,3 +46,7 @@ --- // Error: 8-20 cannot add two vertical alignments #align(top + bottom, [A]) + +--- +// Error: 8-30 cannot add a vertical and a 2D alignment +#align(top + (bottom + right), [A]) |
