diff options
| author | Paul Eggert | 2019-12-10 20:04:36 -0800 |
|---|---|---|
| committer | Paul Eggert | 2019-12-10 20:05:49 -0800 |
| commit | b0f20651e3cbb8a66f11ffae4c18634019c20cd4 (patch) | |
| tree | 067bcb8fa529b4afee6d189f409faf16bd437810 /test/lisp/vc | |
| parent | 0940296ebe56ebdf9c32e94191d4f0b18006a910 (diff) | |
| download | emacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.tar.gz emacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.zip | |
; Spelling fixes
Diffstat (limited to 'test/lisp/vc')
| -rw-r--r-- | test/lisp/vc/log-edit-tests.el | 21 |
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 |
| 49 | couple of sentencences. Long enough to be filled for several lines. | 49 | couple 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. | |||
| 59 | description of a | 59 | description of a |
| 60 | complicated change. | 60 | complicated change. |
| 61 | Spread over a couple | 61 | Spread over a couple |
| 62 | of sentencences. | 62 | of sentences. Long |
| 63 | Long enough to be | 63 | enough to be filled |
| 64 | filled for several | 64 | for several lines. |
| 65 | lines. | ||
| 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. | |||
| 71 | Some prose. | 70 | Some prose. |
| 72 | \(fun8): A longer description of a | 71 | \(fun8): A longer description of a |
| 73 | complicated change. Spread over a | 72 | complicated change. Spread over a |
| 74 | couple of sentencences. Long enough to | 73 | couple of sentences. Long enough to be |
| 75 | be filled for several lines. | 74 | filled 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. |
| 87 | Spread over a couple of sentencences. Long enough to be filled for | 86 | Spread over a couple of sentences. Long enough to be filled for several |
| 88 | several lines.")))) | 87 | lines.")))) |
| 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. |