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