summaryrefslogtreecommitdiff
path: root/tests/typ/image-error.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/image-error.typ')
-rw-r--r--tests/typ/image-error.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/image-error.typ b/tests/typ/image-error.typ
new file mode 100644
index 00000000..4fde4ab2
--- /dev/null
+++ b/tests/typ/image-error.typ
@@ -0,0 +1,8 @@
+// error: 5:9-5:30 failed to load image
+// error: 8:9-8:30 failed to load image
+
+// File does not exist.
+[image: "path/does/not/exist"]
+
+// File exists, but is no image.
+[image: "typ/image-error.typ"]