More tests for fill-paragraph-handle-comment.erts

* test/lisp/textmodes/fill-resources/fill-paragraph-handle-comment.erts:
Add more tests for current comment lines (bug#80449).
This commit is contained in:
Juri Linkov 2026-05-31 21:36:12 +03:00
parent cc9f35c54b
commit 271cc5c76c

View file

@ -1,6 +1,6 @@
Point-Char: |
Name: fill-paragraph-handle-comment - non-comment line before comment line
Name: fill-paragraph-handle-comment - current non-comment line before comment line
Code:
(lambda ()
(setq-local comment-start "# ")
@ -21,7 +21,22 @@ not part of the comment
=-=-=
Name: fill-paragraph-handle-comment - non-comment line after comment line
Name: fill-paragraph-handle-comment - non-comment line before current comment line
=-=
this is not part of the comment this is not part of the comment
# this is a comment this is a comment this is a comment|
=-=
this is not part of the comment this is not part of the comment
# this is a comment this is a comment this
# is a comment
=-=-=
Name: fill-paragraph-handle-comment - comment line before current non-comment line
=-=
@ -35,3 +50,18 @@ this is not part of the comment this is
not part of the comment
=-=-=
Name: fill-paragraph-handle-comment - current comment line before non-comment line
=-=
# this is a comment this is a comment this is a comment|
this is not part of the comment this is not part of the comment
=-=
# this is a comment this is a comment this
# is a comment
this is not part of the comment this is not part of the comment
=-=-=