summaryrefslogtreecommitdiff
path: root/tests/typ/layout/place-float-auto.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout/place-float-auto.typ')
-rw-r--r--tests/typ/layout/place-float-auto.typ12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/typ/layout/place-float-auto.typ b/tests/typ/layout/place-float-auto.typ
index 799c9fc7..2ca3dc3a 100644
--- a/tests/typ/layout/place-float-auto.typ
+++ b/tests/typ/layout/place-float-auto.typ
@@ -17,3 +17,15 @@
---
// Error: 2-45 floating placement must be `auto`, `top`, or `bottom`
#place(center + horizon, float: true)[Hello]
+
+---
+// Error: 2-36 floating placement must be `auto`, `top`, or `bottom`
+#place(horizon, float: true)[Hello]
+
+---
+// Error: 2-27 floating placement must be `auto`, `top`, or `bottom`
+#place(float: true)[Hello]
+
+---
+// Error: 2-34 floating placement must be `auto`, `top`, or `bottom`
+#place(right, float: true)[Hello]