aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/vc
diff options
context:
space:
mode:
authorPaul Eggert2019-12-10 20:04:36 -0800
committerPaul Eggert2019-12-10 20:05:49 -0800
commitb0f20651e3cbb8a66f11ffae4c18634019c20cd4 (patch)
tree067bcb8fa529b4afee6d189f409faf16bd437810 /test/lisp/vc
parent0940296ebe56ebdf9c32e94191d4f0b18006a910 (diff)
downloademacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.tar.gz
emacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.zip
; Spelling fixes
Diffstat (limited to 'test/lisp/vc')
-rw-r--r--test/lisp/vc/log-edit-tests.el21
1 files changed, 10 insertions, 11 deletions
diff --git a/test/lisp/vc/log-edit-tests.el b/test/lisp/vc/log-edit-tests.el
index 7d77eca87d2..72d5488ec2e 100644
--- a/test/lisp/vc/log-edit-tests.el
+++ b/test/lisp/vc/log-edit-tests.el
@@ -37,7 +37,7 @@
37\(fun6): 37\(fun6):
38\(fun7): Some prose. 38\(fun7): Some prose.
39\(fun8): A longer description of a complicated change.\ 39\(fun8): A longer description of a complicated change.\
40 Spread over a couple of sentencences.\ 40 Spread over a couple of sentences.\
41 Long enough to be filled for several lines. 41 Long enough to be filled for several lines.
42\(fun9): Etc.") 42\(fun9): Etc.")
43 (goto-char (point-min)) 43 (goto-char (point-min))
@@ -46,7 +46,7 @@
46* dir/file.ext (fun1, fun2, fun3): 46* dir/file.ext (fun1, fun2, fun3):
47* file2.txt (fun4, fun5, fun6, fun7): Some prose. 47* file2.txt (fun4, fun5, fun6, fun7): Some prose.
48\(fun8): A longer description of a complicated change. Spread over a 48\(fun8): A longer description of a complicated change. Spread over a
49couple of sentencences. Long enough to be filled for several lines. 49couple of sentences. Long enough to be filled for several lines.
50\(fun9): Etc.")) 50\(fun9): Etc."))
51 (let ((fill-column 20)) (log-edit-fill-entry)) 51 (let ((fill-column 20)) (log-edit-fill-entry))
52 (should (equal (buffer-string) "\ 52 (should (equal (buffer-string) "\
@@ -59,10 +59,9 @@ Some prose.
59description of a 59description of a
60complicated change. 60complicated change.
61Spread over a couple 61Spread over a couple
62of sentencences. 62of sentences. Long
63Long enough to be 63enough to be filled
64filled for several 64for several lines.
65lines.
66\(fun9): Etc.")) 65\(fun9): Etc."))
67 (let ((fill-column 40)) (log-edit-fill-entry)) 66 (let ((fill-column 40)) (log-edit-fill-entry))
68 (should (equal (buffer-string) "\ 67 (should (equal (buffer-string) "\
@@ -71,21 +70,21 @@ lines.
71Some prose. 70Some prose.
72\(fun8): A longer description of a 71\(fun8): A longer description of a
73complicated change. Spread over a 72complicated change. Spread over a
74couple of sentencences. Long enough to 73couple of sentences. Long enough to be
75be filled for several lines. 74filled for several lines.
76\(fun9): Etc.")))) 75\(fun9): Etc."))))
77 76
78(ert-deftest log-edit-fill-entry-trailing-prose () 77(ert-deftest log-edit-fill-entry-trailing-prose ()
79 (with-temp-buffer 78 (with-temp-buffer
80 (insert "\ 79 (insert "\
81* dir/file.ext (fun1): A longer description of a complicated change.\ 80* dir/file.ext (fun1): A longer description of a complicated change.\
82 Spread over a couple of sentencences.\ 81 Spread over a couple of sentences.\
83 Long enough to be filled for several lines.") 82 Long enough to be filled for several lines.")
84 (let ((fill-column 72)) (log-edit-fill-entry)) 83 (let ((fill-column 72)) (log-edit-fill-entry))
85 (should (equal (buffer-string) "\ 84 (should (equal (buffer-string) "\
86* dir/file.ext (fun1): A longer description of a complicated change. 85* dir/file.ext (fun1): A longer description of a complicated change.
87Spread over a couple of sentencences. Long enough to be filled for 86Spread over a couple of sentences. Long enough to be filled for several
88several lines.")))) 87lines."))))
89 88
90(ert-deftest log-edit-fill-entry-joining () 89(ert-deftest log-edit-fill-entry-joining ()
91 ;; Join short enough function names on the same line. 90 ;; Join short enough function names on the same line.