diff --git a/tests/ref/text/linebreak.png b/tests/ref/text/linebreak.png index c127182c9..b137e292d 100644 Binary files a/tests/ref/text/linebreak.png and b/tests/ref/text/linebreak.png differ diff --git a/tests/typ/text/linebreak.typ b/tests/typ/text/linebreak.typ index d8449bcc9..c926789a2 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