diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-12-04 12:41:19 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-12-04 12:50:07 +0100 |
| commit | 962108d16845e6b2d66f4f82e5134003969aec72 (patch) | |
| tree | 0431aa079620cd784703ca8de1284c8bcab2597d /tests | |
| parent | 7f10d3282e85b0223efe569d1ee612eb43ab8195 (diff) | |
Fix zero-sized patterns
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typ/visualize/pattern-small.typ | 5 |
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)))) |
