aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Kangas2024-06-22 18:42:06 +0200
committerStefan Kangas2024-06-22 18:42:06 +0200
commit4a76af51bb685e3082b152c35117bab1ed511d40 (patch)
treef619cb5fc4b8fa56d02c6083b125a27126ac0f5a /test
parente41dd2241f7fea39a7149cf7012fd169dc631b0f (diff)
downloademacs-4a76af51bb685e3082b152c35117bab1ed511d40.tar.gz
emacs-4a76af51bb685e3082b152c35117bab1ed511d40.zip
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.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/vc/log-edit-tests.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/lisp/vc/log-edit-tests.el b/test/lisp/vc/log-edit-tests.el
index db60d21f137..8dc0f1d8955 100644
--- a/test/lisp/vc/log-edit-tests.el
+++ b/test/lisp/vc/log-edit-tests.el
@@ -180,9 +180,7 @@ lines."))))
180 (insert string4) 180 (insert string4)
181 (let ((fill-column 39)) (log-edit-fill-entry)) 181 (let ((fill-column 39)) (log-edit-fill-entry))
182 (should (equal (buffer-string) 182 (should (equal (buffer-string)
183 ;; There is whitespace after "file2.txt" which 183 "* file2.txt\s
184 ;; should not be erased!
185 "* file2.txt
186(abcdefghijklmnopqrstuvwxyz):"))))) 184(abcdefghijklmnopqrstuvwxyz):")))))
187 185
188(ert-deftest log-edit-fill-entry-space-substitution () 186(ert-deftest log-edit-fill-entry-space-substitution ()
@@ -228,7 +226,7 @@ division.
228(sfnt_round_none, sfnt_round_to_grid, sfnt_round_to_double_grid) 226(sfnt_round_none, sfnt_round_to_grid, sfnt_round_to_double_grid)
229" 227"
230 wanted " 228 wanted "
231* src/sfnt.c 229* src/sfnt.c\s
232(xmalloc, xrealloc): 230(xmalloc, xrealloc):
233Improve behavior 231Improve behavior
234upon allocation 232upon allocation
@@ -330,7 +328,7 @@ new line.
330(but_this_entry_should_not): With the prose displaced to the 328(but_this_entry_should_not): With the prose displaced to the
331next line instead." 329next line instead."
332 wanted " 330 wanted "
333* src/sfnt.c 331* src/sfnt.c\s
334(long_entry_1): This 332(long_entry_1): This
335entry should be 333entry should be
336placed on a new 334placed on a new