diff --git a/tests/suite/loading/read.typ b/tests/suite/loading/read.typ
index b5c9c0892..00e3a5e4a 100644
--- a/tests/suite/loading/read.typ
+++ b/tests/suite/loading/read.typ
@@ -8,5 +8,5 @@
#let data = read("/assets/text/missing.txt")
--- read-invalid-utf-8 ---
-// Error: 18-40 file is not valid utf-8
+// Error: 18-40 failed to convert to string (file is not valid utf-8 at 1:1)
#let data = read("/assets/text/bad.txt")
diff --git a/tests/suite/scripting/import.typ b/tests/suite/scripting/import.typ
index 76c3c34f5..382e444cc 100644
--- a/tests/suite/scripting/import.typ
+++ b/tests/suite/scripting/import.typ
@@ -334,7 +334,7 @@
--- import-cyclic-in-other-file ---
// Cyclic import in other file.
-// error: "./modules/cycle1.typ" 2:29-2:51 file is not valid utf-8
+// Error: "tests/suite/scripting/modules/cycle2.typ" 2:9-2:21 cyclic import
#import "./modules/cycle1.typ": *
This is never reached.
diff --git a/tests/suite/visualize/image.typ b/tests/suite/visualize/image.typ
index db79c1f16..45c70c4b8 100644
--- a/tests/suite/visualize/image.typ
+++ b/tests/suite/visualize/image.typ
@@ -167,7 +167,7 @@ A #box(image("/assets/images/tiger.jpg", height: 1cm, width: 80%)) B
#image("/assets/plugins/hello.wasm")
--- image-bad-svg ---
-// Error: "/assets/images/bad.svg" 4:0 failed to parse SVG (found closing tag 'g' instead of 'style' at 4:3)
+// Error: "/assets/images/bad.svg" 4:3 failed to parse SVG (found closing tag 'g' instead of 'style')
#image("/assets/images/bad.svg")
--- image-decode-svg ---
@@ -176,7 +176,7 @@ A #box(image("/assets/images/tiger.jpg", height: 1cm, width: 80%)) B
#image.decode(``.text, format: "svg")
--- image-decode-bad-svg ---
-// Error: 2-168 failed to parse SVG (missing root node)
+// Error: 15-152 failed to parse SVG (missing root node at 1:1)
// Warning: 8-14 `image.decode` is deprecated, directly pass bytes to `image` instead
#image.decode(``.text, format: "svg")