diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-11-20 12:59:39 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-11-20 12:59:39 +0100 |
commit | 16318bfb518aa7bc06e502e6fad7e53ec91067f9 (patch) | |
tree | e27122c0a061762bc483ed245ca62ac8d957f881 /test | |
parent | 6082ab9697fa8c18e9049d24840d07efe6f95625 (diff) | |
download | emacs-16318bfb518aa7bc06e502e6fad7e53ec91067f9.tar.gz |
; Fix typos
Diffstat (limited to 'test')
-rw-r--r-- | test/lisp/auth-source-pass-tests.el | 8 | ||||
-rw-r--r-- | test/lisp/cedet/srecode/fields-tests.el | 2 | ||||
-rw-r--r-- | test/lisp/net/dbus-tests.el | 2 | ||||
-rw-r--r-- | test/lisp/vc/vc-tests.el | 2 | ||||
-rw-r--r-- | test/src/comp-resources/comp-test-funcs.el | 8 | ||||
-rw-r--r-- | test/src/comp-tests.el | 4 | ||||
-rw-r--r-- | test/src/eval-tests.el | 2 |
7 files changed, 14 insertions, 14 deletions
diff --git a/test/lisp/auth-source-pass-tests.el b/test/lisp/auth-source-pass-tests.el index 8bcb2739bb3..6e6671efca5 100644 --- a/test/lisp/auth-source-pass-tests.el +++ b/test/lisp/auth-source-pass-tests.el @@ -59,7 +59,7 @@ "Contains a list of all messages passed to `auth-source-do-debug'.") (defun auth-source-pass--have-message-matching (regexp) - "Return non-nil iff at least one `auth-source-do-debug' match REGEXP." + "Return non-nil if at least one `auth-source-do-debug' match REGEXP." (seq-find (lambda (message) (string-match regexp message)) auth-source-pass--debug-log)) @@ -109,7 +109,7 @@ ENTRY, HOSTNAME, USER and PORT are the same as in (put 'auth-source-pass-match-entry-p 'ert-explainer #'auth-source-pass--explain-match-entry-p) (defun auth-source-pass--includes-sorted-entries (entries hostname &optional user port) - "Return non-nil iff ENTRIES matching the parameters are found in store. + "Return non-nil if ENTRIES matching the parameters are found in store. ENTRIES should be sorted from most specific to least specific. HOSTNAME, USER and PORT are passed unchanged to @@ -157,7 +157,7 @@ result is ordered the same way as the suffixes." (auth-source-pass--generate-entry-suffixes hostname user port)))) (defun auth-source-pass-match-entry-p (entry hostname &optional user port) - "Return non-nil iff an ENTRY matching the parameters is found in store. + "Return non-nil if an ENTRY matching the parameters is found in store. HOSTNAME, USER and PORT are passed unchanged to `auth-source-pass--matching-entries'." @@ -166,7 +166,7 @@ HOSTNAME, USER and PORT are passed unchanged to (auth-source-pass--matching-entries hostname user port))) (defun auth-source-pass-match-any-entry-p (hostname &optional user port) - "Return non-nil iff there is at least one entry matching the parameters. + "Return non-nil if there is at least one entry matching the parameters. HOSTNAME, USER and PORT are passed unchanged to `auth-source-pass--matching-entries'." diff --git a/test/lisp/cedet/srecode/fields-tests.el b/test/lisp/cedet/srecode/fields-tests.el index 292ac4e3b5e..c9e0d4601b9 100644 --- a/test/lisp/cedet/srecode/fields-tests.el +++ b/test/lisp/cedet/srecode/fields-tests.el @@ -66,7 +66,7 @@ It is filled with some text." (when (and (overlayp (oref f overlay)) (not (overlay-get (oref f overlay) 'srecode-init-only))) - (error "Field creation overlay is not tagged w/ init flag")) + (error "Field creation overlay is not tagged with init flag")) (srecode-overlaid-activate f) diff --git a/test/lisp/net/dbus-tests.el b/test/lisp/net/dbus-tests.el index 558799286f5..c808e6350ea 100644 --- a/test/lisp/net/dbus-tests.el +++ b/test/lisp/net/dbus-tests.el @@ -407,7 +407,7 @@ :session dbus--test-service '(:array (:dict-entry :string "string" :boolean t :boolean t))) :type 'wrong-type-argument) - ;; The first element ist not of a basic type. + ;; The first element is not of a basic type. (should-error (dbus-check-arguments :session dbus--test-service diff --git a/test/lisp/vc/vc-tests.el b/test/lisp/vc/vc-tests.el index dc4d3af6999..13248a36509 100644 --- a/test/lisp/vc/vc-tests.el +++ b/test/lisp/vc/vc-tests.el @@ -127,7 +127,7 @@ Don't set it globally, the functions should be let-bound.") (defun vc-test--create-repo-function (backend) "Run the `vc-create-repo' backend function. -For backends which dont support it, it is emulated." +For backends which don't support it, it is emulated." (cond ((eq backend 'CVS) diff --git a/test/src/comp-resources/comp-test-funcs.el b/test/src/comp-resources/comp-test-funcs.el index 9092f040c80..03925d4d2e8 100644 --- a/test/src/comp-resources/comp-test-funcs.el +++ b/test/src/comp-resources/comp-test-funcs.el @@ -211,10 +211,10 @@ (comp-tests-err-arith-f) (arith-error (concat "arith-error " (error-message-string err) - " catched")) + " caught")) (error (concat "error " (error-message-string err) - " catched")))) + " caught")))) (defun comp-tests-condition-case-1-f () ;; Bpushhandler Bpophandler (condition-case @@ -222,10 +222,10 @@ (comp-tests-err-foo-f) (arith-error (concat "arith-error " (error-message-string err) - " catched")) + " caught")) (error (concat "error " (error-message-string err) - " catched")))) + " caught")))) (defun comp-tests-catch-f (f) (catch 'foo (funcall f))) diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index 734b4a0d221..4e512098a3d 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el @@ -298,9 +298,9 @@ Check that the resulting binaries do not differ." (comp-deftest non-locals () "Test non locals." (should (string= (comp-tests-condition-case-0-f) - "arith-error Arithmetic error catched")) + "arith-error Arithmetic error caught")) (should (string= (comp-tests-condition-case-1-f) - "error Foo catched")) + "error Foo caught")) (should (= (comp-tests-catch-f (lambda () (throw 'foo 3))) 3)) diff --git a/test/src/eval-tests.el b/test/src/eval-tests.el index bb2f04e8ee1..0e12e4dbd8a 100644 --- a/test/src/eval-tests.el +++ b/test/src/eval-tests.el @@ -222,7 +222,7 @@ expressions works for identifiers starting with period." (ert-deftest eval-tests/funcall-with-delayed-message () ;; Check that `funcall-with-delayed-message' displays its message before - ;; its function terminates iff the timeout is short enough. + ;; its function terminates if the timeout is short enough. ;; This also serves as regression test for bug#55628 where a short ;; timeout was rounded up to the next whole second. |