summaryrefslogtreecommitdiff
path: root/tests/typ/structure/attach.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/structure/attach.typ')
-rw-r--r--tests/typ/structure/attach.typ18
1 files changed, 8 insertions, 10 deletions
diff --git a/tests/typ/structure/attach.typ b/tests/typ/structure/attach.typ
index c6d3c28c..c13de236 100644
--- a/tests/typ/structure/attach.typ
+++ b/tests/typ/structure/attach.typ
@@ -9,10 +9,8 @@ Attached to:
Next paragraph.
---
-// Test attached list without parbreak after it.
-// Ensures the par spacing is used below by setting
-// super high around spacing.
-#set list(around: 100pt)
+// Test that attached list isn't affected by block spacing.
+#show list: it => { set block(above: 100pt); it }
Hello
- A
World
@@ -29,8 +27,8 @@ World
- B
---
-// Test not-attached tight list.
-#set list(around: 15pt)
+// Test non-attached tight list.
+#set block(spacing: 15pt)
Hello
- A
World
@@ -41,8 +39,8 @@ World
More.
---
-// Test that wide lists cannot be attached ...
-#set list(around: 15pt, spacing: 15pt)
+// Test that wide lists cannot be ...
+#set block(spacing: 15pt)
Hello
- A
@@ -50,7 +48,7 @@ Hello
World
---
-// ... unless really forced to.
+// ... even if forced to.
Hello
-#list(attached: true, tight: false)[A][B]
+#list(tight: false)[A][B]
World