summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-12-04 12:41:19 +0100
committerLaurenz <laurmaedje@gmail.com>2023-12-04 12:50:07 +0100
commit962108d16845e6b2d66f4f82e5134003969aec72 (patch)
tree0431aa079620cd784703ca8de1284c8bcab2597d /tests
parent7f10d3282e85b0223efe569d1ee612eb43ab8195 (diff)
Fix zero-sized patterns
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/visualize/pattern-small.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/visualize/pattern-small.typ b/tests/typ/visualize/pattern-small.typ
index 888cfee1..8a63c374 100644
--- a/tests/typ/visualize/pattern-small.typ
+++ b/tests/typ/visualize/pattern-small.typ
@@ -12,3 +12,8 @@
height: 1pt,
fill: pattern(size: (2pt, 1pt), square(size: 1pt, fill: black))
)
+
+---
+// Error: 22-52 pattern tile size must be non-zero
+// Hint: 22-52 try setting the size manually
+#line(stroke: pattern(path((0pt, 0pt), (1em, 0pt))))