summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/align.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/text/align.typ b/tests/typ/text/align.typ
index 27c650a4..2ffe1b4c 100644
--- a/tests/typ/text/align.typ
+++ b/tests/typ/text/align.typ
@@ -2,7 +2,7 @@
---
// Test that alignment depends on the paragraph's full width.
-#rect[
+#box[
Hello World \
#align(right)[World]
]
@@ -10,7 +10,7 @@
---
// Test that a line with multiple alignments respects the paragraph's full
// width.
-#rect[
+#box[
Hello #align(center)[World] \
Hello from the World
]