summaryrefslogtreecommitdiff
path: root/tests/typ/elements/image.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/elements/image.typ')
-rw-r--r--tests/typ/elements/image.typ3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/typ/elements/image.typ b/tests/typ/elements/image.typ
index 43f93baf..84260a28 100644
--- a/tests/typ/elements/image.typ
+++ b/tests/typ/elements/image.typ
@@ -21,8 +21,7 @@
#image("../../res/tiger.jpg", width: 100%, height: 20pt, fit: "stretch")
// Make sure the bounding-box of the image is correct.
-#align(bottom, right)
-#image("../../res/tiger.jpg", width: 40pt)
+#align(bottom, right, image("../../res/tiger.jpg", width: 40pt))
---
// Test all three fit modes.