summaryrefslogtreecommitdiff
path: root/tests/typ/visualize/shape-square.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/visualize/shape-square.typ')
-rw-r--r--tests/typ/visualize/shape-square.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/visualize/shape-square.typ b/tests/typ/visualize/shape-square.typ
index 8ac9001f..cb6552e4 100644
--- a/tests/typ/visualize/shape-square.typ
+++ b/tests/typ/visualize/shape-square.typ
@@ -2,8 +2,8 @@
---
// Default square.
-#square()
-#square[hey!]
+#box(square())
+#box(square[hey!])
---
// Test auto-sized square.
@@ -15,7 +15,7 @@
---
// Test relative-sized child.
#square(fill: eastern)[
- #rect(width: 10pt, height: 5pt, fill: conifer) \
+ #rect(width: 10pt, height: 5pt, fill: conifer)
#rect(width: 40%, height: 5pt, stroke: conifer)
]