summaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-06-24 13:52:51 +0200
committerStefan Kangas <stefan@marxist.se>2022-06-24 13:52:51 +0200
commit81e58d1ce5a16fbe4cad543b1b011fe52da5d70c (patch)
treefb74ce8496311b34d68ae04de01c76810b1add1b /test/src
parent391acd91344c833d94d89b2862b272d08643c068 (diff)
parenta772c0b85272bc20858a35af5f619983cfcb0084 (diff)
downloademacs-81e58d1ce5a16fbe4cad543b1b011fe52da5d70c.tar.gz
emacs-81e58d1ce5a16fbe4cad543b1b011fe52da5d70c.tar.bz2
emacs-81e58d1ce5a16fbe4cad543b1b011fe52da5d70c.zip
Merge from origin/emacs-28
a772c0b852 ; Fix typos: prefer US spelling. # Conflicts: # doc/misc/modus-themes.org
Diffstat (limited to 'test/src')
-rw-r--r--test/src/fns-tests.el2
-rw-r--r--test/src/keymap-tests.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/src/fns-tests.el b/test/src/fns-tests.el
index c080c483927..39bcc5ee38b 100644
--- a/test/src/fns-tests.el
+++ b/test/src/fns-tests.el
@@ -978,7 +978,7 @@
(should (equal 1 (string-distance "ab" "a我b")))
(should (equal 1 (string-distance "我" "她")))
- ;; correct behaviour with empty strings
+ ;; correct behavior with empty strings
(should (equal 0 (string-distance "" "")))
(should (equal 0 (string-distance "" "" t)))
(should (equal 1 (string-distance "x" "")))
diff --git a/test/src/keymap-tests.el b/test/src/keymap-tests.el
index 18f292d2153..de3012b5764 100644
--- a/test/src/keymap-tests.el
+++ b/test/src/keymap-tests.el
@@ -125,7 +125,7 @@
;; ...)
(ert-deftest keymap-lookup-key/mixed-case ()
- "Backwards compatibility behaviour (Bug#50752)."
+ "Backwards compatibility behavior (Bug#50752)."
(let ((map (make-keymap)))
(define-key map [menu-bar foo bar] 'foo)
(should (eq (lookup-key map [menu-bar foo bar]) 'foo))