summaryrefslogtreecommitdiff
path: root/tests/typ/func-image.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-13 17:22:33 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-13 17:22:33 +0100
commitc36a136e6f26ac99e58465ad072c282fe6dbaedf (patch)
treed2c21e28033a4af68460e0159203274cb03e074a /tests/typ/func-image.typ
parent2aa4c5bfc6e35ca663aa77899975450e6a4a26de (diff)
Simpler diagnostic localization in tests ♻
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"]