summaryrefslogtreecommitdiff
path: root/tests/typ/layout/par.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-09 10:21:11 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-09 10:21:11 +0100
commitcd089b6194c57b2e8dff70efaa7cbd53035f7327 (patch)
treef5466a0e2f8633aa609276c0c2794911c7e9252a /tests/typ/layout/par.typ
parent495b525694aa5901385f3acad043b4a9f3ebb911 (diff)
Align set rule
Diffstat (limited to 'tests/typ/layout/par.typ')
-rw-r--r--tests/typ/layout/par.typ10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/typ/layout/par.typ b/tests/typ/layout/par.typ
index 558059e9..aabe63ef 100644
--- a/tests/typ/layout/par.typ
+++ b/tests/typ/layout/par.typ
@@ -2,7 +2,7 @@
---
// Test ragged-left.
-#set par(align: right)
+#set align(right)
To the right! Where the sunlight peeks behind the mountain.
---
@@ -35,11 +35,3 @@ fn main() {}
- List
Paragraph
-
----
-// Error: 17-20 must be horizontal
-#set par(align: top)
-
----
-// Error: 17-33 expected alignment, found 2d alignment
-#set par(align: horizon + center)