aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp
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
parent0940296ebe56ebdf9c32e94191d4f0b18006a910 (diff)
downloademacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.tar.gz
emacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.zip
; Spelling fixes
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/abbrev-tests.el2
-rw-r--r--test/lisp/cedet/semantic-utest-ia.el2
-rw-r--r--test/lisp/cedet/srecode-utest-getset.el1
-rw-r--r--test/lisp/emacs-lisp/cl-macs-tests.el4
-rw-r--r--test/lisp/emacs-lisp/regexp-opt-tests.el2
-rw-r--r--test/lisp/vc/log-edit-tests.el21
6 files changed, 15 insertions, 17 deletions
diff --git a/test/lisp/abbrev-tests.el b/test/lisp/abbrev-tests.el
index 2750e9a6263..8eee0712c22 100644
--- a/test/lisp/abbrev-tests.el
+++ b/test/lisp/abbrev-tests.el
@@ -283,7 +283,7 @@
283 (inverse-add-abbrev table "Global" 1))) 283 (inverse-add-abbrev table "Global" 1)))
284 (should (string= (abbrev-expansion "foo" table) "bar")))) 284 (should (string= (abbrev-expansion "foo" table) "bar"))))
285 285
286(ert-deftest inverse-add-abbrev-skips-trailing-nonword/postiive-arg () 286(ert-deftest inverse-add-abbrev-skips-trailing-nonword/positive-arg ()
287 "Test that adding an inverse abbrev skips trailing nonword characters." 287 "Test that adding an inverse abbrev skips trailing nonword characters."
288 (let ((table (make-abbrev-table))) 288 (let ((table (make-abbrev-table)))
289 (with-temp-buffer 289 (with-temp-buffer
diff --git a/test/lisp/cedet/semantic-utest-ia.el b/test/lisp/cedet/semantic-utest-ia.el
index 61d7ea370e2..515275591f9 100644
--- a/test/lisp/cedet/semantic-utest-ia.el
+++ b/test/lisp/cedet/semantic-utest-ia.el
@@ -115,7 +115,7 @@
115 (should (file-exists-p tst)) 115 (should (file-exists-p tst))
116 (should-not (semantic-ia-utest tst)))) 116 (should-not (semantic-ia-utest tst))))
117 117
118(ert-deftest semantic-utest-ia-varnamse.java () 118(ert-deftest semantic-utest-ia-varnames.java ()
119 (let ((tst (expand-file-name "testvarnames.java" semantic-utest-test-directory))) 119 (let ((tst (expand-file-name "testvarnames.java" semantic-utest-test-directory)))
120 (should (file-exists-p tst)) 120 (should (file-exists-p tst))
121 (should-not (semantic-ia-utest tst)))) 121 (should-not (semantic-ia-utest tst))))
diff --git a/test/lisp/cedet/srecode-utest-getset.el b/test/lisp/cedet/srecode-utest-getset.el
index d69a195a128..2e82fc9c90a 100644
--- a/test/lisp/cedet/srecode-utest-getset.el
+++ b/test/lisp/cedet/srecode-utest-getset.el
@@ -21,7 +21,6 @@
21;; 21;;
22;; Unit tests for the getset inserter application. 22;; Unit tests for the getset inserter application.
23 23
24;;(require 'cedet-uutil)
25(require 'srecode/semantic) 24(require 'srecode/semantic)
26 25
27;;; Code: 26;;; Code:
diff --git a/test/lisp/emacs-lisp/cl-macs-tests.el b/test/lisp/emacs-lisp/cl-macs-tests.el
index 85230447148..d3b9732b74d 100644
--- a/test/lisp/emacs-lisp/cl-macs-tests.el
+++ b/test/lisp/emacs-lisp/cl-macs-tests.el
@@ -569,14 +569,14 @@ collection clause."
569 finally return result) 569 finally return result)
570 '(2 1 0))) 570 '(2 1 0)))
571 571
572 ;; this nonintuitive result is replicated by clisp 572 ;; this unintuitive result is replicated by clisp
573 (should (equal (cl-loop with result 573 (should (equal (cl-loop with result
574 for x below 3 574 for x below 3
575 and y = (progn (push x result)) 575 and y = (progn (push x result))
576 finally return result) 576 finally return result)
577 '(2 1 0 0))) 577 '(2 1 0 0)))
578 578
579 ;; this nonintuitive result is replicated by clisp 579 ;; this unintuitive result is replicated by clisp
580 (should (equal (cl-loop with result 580 (should (equal (cl-loop with result
581 for x below 3 581 for x below 3
582 and y = (progn (push x result)) then (progn (push (1+ x) result)) 582 and y = (progn (push x result)) then (progn (push (1+ x) result))
diff --git a/test/lisp/emacs-lisp/regexp-opt-tests.el b/test/lisp/emacs-lisp/regexp-opt-tests.el
index 3658964faac..6b94ccb2d5b 100644
--- a/test/lisp/emacs-lisp/regexp-opt-tests.el
+++ b/test/lisp/emacs-lisp/regexp-opt-tests.el
@@ -66,7 +66,7 @@
66 (opt (regexp-opt-test--match-all perm opt-re))) 66 (opt (regexp-opt-test--match-all perm opt-re)))
67 (concat "\n" 67 (concat "\n"
68 (format "Naïve regexp: %s\n" ref-re) 68 (format "Naïve regexp: %s\n" ref-re)
69 (format "Optimised regexp: %s\n" opt-re) 69 (format "Optimized regexp: %s\n" opt-re)
70 (format "Got: %s\n" opt) 70 (format "Got: %s\n" opt)
71 (format "Expected: %s\n" ref)))) 71 (format "Expected: %s\n" ref))))
72 72
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.