summaryrefslogtreecommitdiff
path: root/tests/typ/text/par.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/text/par.typ')
-rw-r--r--tests/typ/text/par.typ10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/typ/text/par.typ b/tests/typ/text/par.typ
index 771a6218..8bd43deb 100644
--- a/tests/typ/text/par.typ
+++ b/tests/typ/text/par.typ
@@ -16,6 +16,16 @@ To the right! Where the sunlight peeks behind the mountain.
Third
---
+// Test that paragraph spacing uses correct set rule.
+Hello
+
+#set par(spacing: 100pt)
+World
+#set par(spacing: 0pt)
+
+You
+
+---
// Test that paragraph break due to incompatibility respects
// spacing defined by the two adjacent paragraphs.
#let a = [#set par(spacing: 40pt);Hello]