summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/line-align.pngbin0 -> 137 bytes
-rw-r--r--tests/typ/bugs/line-align.typ5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/bugs/line-align.png b/tests/ref/bugs/line-align.png
new file mode 100644
index 00000000..1117ed6b
--- /dev/null
+++ b/tests/ref/bugs/line-align.png
Binary files differ
diff --git a/tests/typ/bugs/line-align.typ b/tests/typ/bugs/line-align.typ
new file mode 100644
index 00000000..0518eaaa
--- /dev/null
+++ b/tests/typ/bugs/line-align.typ
@@ -0,0 +1,5 @@
+// Test right-aligning a line and a rectangle.
+
+---
+#align(right, line(length: 30%))
+#align(right, rect())