summaryrefslogtreecommitdiff
path: root/tests/typ/visualize/pattern-small.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/visualize/pattern-small.typ')
-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))))