From 8a558e6a794da76f689f8404f9e7e8d030cfb49c Mon Sep 17 00:00:00 2001 From: Justin Burkett Date: Mon, 21 Jun 2021 13:59:56 -0400 Subject: [PATCH] Update tests --- which-key-tests.el | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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"))))))