1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Replace literal whitespace with \s

* test/lisp/vc/log-edit-tests.el (log-edit-fill-entry-confinement)
(log-edit-fill-entry-space-substitution)
(log-edit-fill-entry-initial-wrapping): Replace literal space character
with '\s', to avoid tripping up merge scripts.
This commit is contained in:
Stefan Kangas 2024-06-22 18:42:06 +02:00
parent e41dd2241f
commit 4a76af51bb

View File

@ -180,9 +180,7 @@ lines."))))
(insert string4)
(let ((fill-column 39)) (log-edit-fill-entry))
(should (equal (buffer-string)
;; There is whitespace after "file2.txt" which
;; should not be erased!
"* file2.txt
"* file2.txt\s
(abcdefghijklmnopqrstuvwxyz):")))))
(ert-deftest log-edit-fill-entry-space-substitution ()
@ -228,7 +226,7 @@ division.
(sfnt_round_none, sfnt_round_to_grid, sfnt_round_to_double_grid)
"
wanted "
* src/sfnt.c
* src/sfnt.c\s
(xmalloc, xrealloc):
Improve behavior
upon allocation
@ -330,7 +328,7 @@ new line.
(but_this_entry_should_not): With the prose displaced to the
next line instead."
wanted "
* src/sfnt.c
* src/sfnt.c\s
(long_entry_1): This
entry should be
placed on a new