summaryrefslogtreecommitdiff
path: root/tests/typ/layout/place-float-auto.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/layout/place-float-auto.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/place-float-auto.typ')
-rw-r--r--tests/typ/layout/place-float-auto.typ31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/typ/layout/place-float-auto.typ b/tests/typ/layout/place-float-auto.typ
deleted file mode 100644
index 2ca3dc3a..00000000
--- a/tests/typ/layout/place-float-auto.typ
+++ /dev/null
@@ -1,31 +0,0 @@
-// Test floating placement.
-
----
-#set page(height: 140pt)
-#set place(clearance: 5pt)
-#lorem(6)
-#place(auto, float: true, rect[A])
-#place(auto, float: true, rect[B])
-#place(auto, float: true, rect[C])
-#place(auto, float: true, rect[D])
-
----
-// Error: 2-20 automatic positioning is only available for floating placement
-// Hint: 2-20 you can enable floating placement with `place(float: true, ..)`
-#place(auto)[Hello]
-
----
-// 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]