summaryrefslogtreecommitdiff
path: root/tests/typ/func-image.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/func-image.typ')
-rw-r--r--tests/typ/func-image.typ8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/typ/func-image.typ b/tests/typ/func-image.typ
index 78a644c0..b0ca0357 100644
--- a/tests/typ/func-image.typ
+++ b/tests/typ/func-image.typ
@@ -35,12 +35,10 @@
---
// Test error cases.
//
-// ref: false
-// error: 3:8-3:29 failed to load image
-// error: 6:8-6:29 failed to load image
+// Ref: false
-// File does not exist.
+// Error: 1:8-1:29 failed to load image
[image "path/does/not/exist"]
-// File exists, but is no image.
+// Error: 1:8-1:29 failed to load image
[image "typ/image-error.typ"]