summaryrefslogtreecommitdiff
path: root/tests/typ/func-image-error.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-12-27 20:45:20 +0100
committerLaurenz <laurmaedje@gmail.com>2020-12-27 20:45:20 +0100
commitba3d43f7b2a18984be27f3d472884a19f3adce4c (patch)
tree1c6ffa31145fb69c19319440969d2037b27b584f /tests/typ/func-image-error.typ
parent750d220bb080be077cd7ede6d18d485b1c3fb0c9 (diff)
Refresh function call and dictionary syntax
- No colon between function name and arguments, just whitespace - "Named" arguments (previously "keyword" arguments) use colon instead of equals sign
Diffstat (limited to 'tests/typ/func-image-error.typ')
-rw-r--r--tests/typ/func-image-error.typ8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/func-image-error.typ b/tests/typ/func-image-error.typ
index e6a989ca..15553420 100644
--- a/tests/typ/func-image-error.typ
+++ b/tests/typ/func-image-error.typ
@@ -1,11 +1,11 @@
// Test error cases of the `image` function.
// File does not exist.
-[image: "path/does/not/exist"]
+[image "path/does/not/exist"]
// File exists, but is no image.
-[image: "typ/image-error.typ"]
+[image "typ/image-error.typ"]
// compare-ref: false
-// error: 4:9-4:30 failed to load image
-// error: 7:9-7:30 failed to load image
+// error: 4:8-4:29 failed to load image
+// error: 7:8-7:29 failed to load image