summaryrefslogtreecommitdiff
path: root/tests/typ/insert/image.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/insert/image.typ')
-rw-r--r--tests/typ/insert/image.typ8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/typ/insert/image.typ b/tests/typ/insert/image.typ
index 9d9c6d46..6359c4bb 100644
--- a/tests/typ/insert/image.typ
+++ b/tests/typ/insert/image.typ
@@ -17,7 +17,10 @@
#image("../../res/rhino.png")
// Fit to height of page.
-#page(height: 40pt, image("../../res/rhino.png"))
+[
+ #page(height: 40pt)
+ #image("../../res/rhino.png")
+]
// Set width explicitly.
#image("../../res/rhino.png", width: 50pt)
@@ -29,7 +32,8 @@
#image("../../res/rhino.png", width: 25pt, height: 50pt)
// Make sure the bounding-box of the image is correct.
-#align(bottom, right, image("../../res/tiger.jpg", width: 60pt))
+#align(bottom, right)
+#image("../../res/tiger.jpg", width: 60pt)
---
// Error: 8-29 file not found