From 305524d005df075d53575552ee090fb53192a3fe Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 11 Sep 2023 14:42:43 +0200 Subject: Update tests for type system changes --- tests/typ/layout/align.typ | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tests/typ/layout/align.typ') 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]) -- cgit v1.2.3