diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-02-21 15:11:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 14:11:35 +0000 |
| commit | 56ecd6c806ab32a7cca5289500504e398198d283 (patch) | |
| tree | 1b6fd1b34922d2877a714398beedb20f3e6cd317 /tests/typ/visualize | |
| parent | 23756f9e8b0e3bf5b3e1126f681024575cca4529 (diff) | |
Wider callsite span (#3466)
Diffstat (limited to 'tests/typ/visualize')
| -rw-r--r-- | tests/typ/visualize/image.typ | 4 | ||||
| -rw-r--r-- | tests/typ/visualize/pattern-small.typ | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/visualize/image.typ b/tests/typ/visualize/image.typ index 093fecc1..0e256eb8 100644 --- a/tests/typ/visualize/image.typ +++ b/tests/typ/visualize/image.typ @@ -66,7 +66,7 @@ A #box(image("/files/tiger.jpg", height: 1cm, width: 80%)) B #image.decode(`<svg xmlns="http://www.w3.org/2000/svg" height="140" width="500"><ellipse cx="200" cy="80" rx="100" ry="50" style="fill:yellow;stroke:purple;stroke-width:2" /></svg>`.text, format: "svg") --- -// Error: 14-168 failed to parse SVG (missing root node) +// Error: 2-168 failed to parse SVG (missing root node) #image.decode(`<svg height="140" width="500"><ellipse cx="200" cy="80" rx="100" ry="50" style="fill:yellow;stroke:purple;stroke-width:2" /></svg>`.text, format: "svg") --- @@ -78,5 +78,5 @@ A #box(image("/files/tiger.jpg", height: 1cm, width: 80%)) B #image.decode(read("/files/tiger.jpg", encoding: none), format: "jpg", width: 80%) --- -// Error: 14-83 failed to decode image (Format error decoding Png: Invalid PNG signature.) +// Error: 2-83 failed to decode image (Format error decoding Png: Invalid PNG signature.) #image.decode(read("/files/tiger.jpg", encoding: none), format: "png", width: 80%) diff --git a/tests/typ/visualize/pattern-small.typ b/tests/typ/visualize/pattern-small.typ index 8a63c374..1d289f92 100644 --- a/tests/typ/visualize/pattern-small.typ +++ b/tests/typ/visualize/pattern-small.typ @@ -14,6 +14,6 @@ ) --- -// Error: 22-52 pattern tile size must be non-zero -// Hint: 22-52 try setting the size manually +// Error: 15-52 pattern tile size must be non-zero +// Hint: 15-52 try setting the size manually #line(stroke: pattern(path((0pt, 0pt), (1em, 0pt)))) |
