summaryrefslogtreecommitdiff
path: root/tests/typ/graphics
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-19 23:33:33 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-19 23:33:33 +0100
commit8eeb4ad8f6df3bedebdb86f95e013a9ea71fb687 (patch)
tree435a9afc2cfd900e6cb76e77d3e57b964c89ec8c /tests/typ/graphics
parent565b1977aef9db70aef29a1eb8747f42a7fe4a15 (diff)
Rename `margins` to `margin`
Diffstat (limited to 'tests/typ/graphics')
-rw-r--r--tests/typ/graphics/image.typ2
-rw-r--r--tests/typ/graphics/shape-aspect.typ4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/graphics/image.typ b/tests/typ/graphics/image.typ
index 3bb5bdd1..3c906d4f 100644
--- a/tests/typ/graphics/image.typ
+++ b/tests/typ/graphics/image.typ
@@ -25,7 +25,7 @@
---
// Test all three fit modes.
-#set page(height: 50pt, margins: 0pt)
+#set page(height: 50pt, margin: 0pt)
#grid(
columns: (1fr, 1fr, 1fr),
rows: 100%,
diff --git a/tests/typ/graphics/shape-aspect.typ b/tests/typ/graphics/shape-aspect.typ
index 70d689f7..464d1827 100644
--- a/tests/typ/graphics/shape-aspect.typ
+++ b/tests/typ/graphics/shape-aspect.typ
@@ -23,7 +23,7 @@
---
// Test square that is limited by region size.
-#set page(width: 20pt, height: 10pt, margins: 0pt)
+#set page(width: 20pt, height: 10pt, margin: 0pt)
#stack(dir: ltr, square(fill: forest), square(fill: conifer))
---
@@ -35,7 +35,7 @@
---
// Test square that is overflowing due to its aspect ratio.
-#set page(width: 40pt, height: 20pt, margins: 5pt)
+#set page(width: 40pt, height: 20pt, margin: 5pt)
#square(width: 100%)
#square(width: 100%)[Hello]