diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-09-11 14:42:43 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-09-11 14:42:43 +0200 |
| commit | 305524d005df075d53575552ee090fb53192a3fe (patch) | |
| tree | 08b739e8fc41057b79a2d7ea7a7208ca358d60b3 /tests/typ/layout/align.typ | |
| parent | b471ac7d590abd2398ce25193b4e4df373bf2e9c (diff) | |
Update tests for type system changes
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]) |
