aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorStefan Kangas2022-06-23 22:03:50 +0200
committerStefan Kangas2022-06-23 22:03:50 +0200
commita772c0b85272bc20858a35af5f619983cfcb0084 (patch)
tree4ff4dcc1ab290cc2015df824b664b2632ba48023 /test/src
parenta3f294b37f81ae3d5438ff32173726bddaa79496 (diff)
downloademacs-a772c0b85272bc20858a35af5f619983cfcb0084.tar.gz
emacs-a772c0b85272bc20858a35af5f619983cfcb0084.zip
; Fix typos: prefer US spelling.
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 4d59f349bab..e27a40f644b 100644
--- a/test/src/fns-tests.el
+++ b/test/src/fns-tests.el
@@ -788,7 +788,7 @@
788 (should (equal 1 (string-distance "ab" "a我b"))) 788 (should (equal 1 (string-distance "ab" "a我b")))
789 (should (equal 1 (string-distance "我" "她"))) 789 (should (equal 1 (string-distance "我" "她")))
790 790
791 ;; correct behaviour with empty strings 791 ;; correct behavior with empty strings
792 (should (equal 0 (string-distance "" ""))) 792 (should (equal 0 (string-distance "" "")))
793 (should (equal 0 (string-distance "" "" t))) 793 (should (equal 0 (string-distance "" "" t)))
794 (should (equal 1 (string-distance "x" ""))) 794 (should (equal 1 (string-distance "x" "")))
diff --git a/test/src/keymap-tests.el b/test/src/keymap-tests.el
index 1dbaf7ef2e7..d7b9e8440ed 100644
--- a/test/src/keymap-tests.el
+++ b/test/src/keymap-tests.el
@@ -125,7 +125,7 @@
125;; ...) 125;; ...)
126 126
127(ert-deftest keymap-lookup-key/mixed-case () 127(ert-deftest keymap-lookup-key/mixed-case ()
128 "Backwards compatibility behaviour (Bug#50752)." 128 "Backwards compatibility behavior (Bug#50752)."
129 (let ((map (make-keymap))) 129 (let ((map (make-keymap)))
130 (define-key map [menu-bar foo bar] 'foo) 130 (define-key map [menu-bar foo bar] 'foo)
131 (should (eq (lookup-key map [menu-bar foo bar]) 'foo)) 131 (should (eq (lookup-key map [menu-bar foo bar]) 'foo))