summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/ref/text/linebreak.pngbin18973 -> 21750 bytes
-rw-r--r--tests/typ/text/linebreak.typ9
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/text/linebreak.png b/tests/ref/text/linebreak.png
index c127182c..b137e292 100644
--- a/tests/ref/text/linebreak.png
+++ b/tests/ref/text/linebreak.png
Binary files differ
diff --git a/tests/typ/text/linebreak.typ b/tests/typ/text/linebreak.typ
index d8449bcc..c926789a 100644
--- a/tests/typ/text/linebreak.typ
+++ b/tests/typ/text/linebreak.typ
@@ -34,3 +34,12 @@ With a soft #linebreak(justify: true)
break you can force a break without #linebreak(justify: true)
breaking justification. #linebreak(justify: false)
Nice!
+
+---
+// Test comments at the end of a line
+First part//
+Second part
+
+// Test comments at the end of a line with pre-spacing
+First part //
+Second part