summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Saveau <saveau.alexandre@gmail.com>2023-04-13 12:22:34 -0700
committerGitHub <noreply@github.com>2023-04-13 21:22:34 +0200
commite5f942172db4c67af300c4ea13cff8786276ca57 (patch)
treeb120044cf5f1c87a01319950fc6e5fa70915d0f6
parent29b36d487609b6a291c3847703f36928082cc8a2 (diff)
Add comment at end of line test (#783)
-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