summaryrefslogtreecommitdiff
path: root/tests/typ/insert/square.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/insert/square.typ')
-rw-r--r--tests/typ/insert/square.typ11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/typ/insert/square.typ b/tests/typ/insert/square.typ
index d546773f..7d65b529 100644
--- a/tests/typ/insert/square.typ
+++ b/tests/typ/insert/square.typ
@@ -10,12 +10,6 @@ Auto-sized square. \
]
---
-// Length wins over width and height.
-// Error: 09-20 unexpected argument
-// Error: 22-34 unexpected argument
-#square(width: 10cm, height: 20cm, length: 1cm, fill: rgb("eb5278"))
-
----
// Test height overflow.
#page!(width: 75pt, height: 100pt)
#square(fill: conifer)[
@@ -28,3 +22,8 @@ Auto-sized square. \
#square(fill: conifer)[
But, soft! what light through yonder window breaks?
]
+
+---
+// Length wins over width and height.
+// Error: 09-20 unexpected argument
+#square(width: 10cm, height: 20cm, length: 1cm, fill: rgb("eb5278"))