diff --git a/which-key-tests.el b/which-key-tests.el index 1611d51cc04..17d5d0d4944 100644 --- a/which-key-tests.el +++ b/which-key-tests.el @@ -151,16 +151,14 @@ (should (equal (sort (which-key--get-keymap-bindings map) (lambda (a b) (string-lessp (car a) (car b)))) - '(("b" . "ignore") - ("c" . "c") - ("d" . "Prefix Command") - ("e" . "Prefix Command") + '(("c" . "c") + ("d" . "prefix") + ("e" . "prefix") ("f" . "{ - C-f")))) (should (equal - (sort (which-key--get-keymap-bindings map t) + (sort (which-key--get-keymap-bindings map nil nil nil t) (lambda (a b) (string-lessp (car a) (car b)))) - '(("b" . "ignore") - ("c" . "c") + '(("c" . "c") ("d d" . "dd") ("e e e" . "eee") ("f" . "{ - C-f"))))))