diff options
| -rw-r--r-- | which-key-tests.el | 12 |
1 files 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 @@ | |||
| 151 | (should (equal | 151 | (should (equal |
| 152 | (sort (which-key--get-keymap-bindings map) | 152 | (sort (which-key--get-keymap-bindings map) |
| 153 | (lambda (a b) (string-lessp (car a) (car b)))) | 153 | (lambda (a b) (string-lessp (car a) (car b)))) |
| 154 | '(("b" . "ignore") | 154 | '(("c" . "c") |
| 155 | ("c" . "c") | 155 | ("d" . "prefix") |
| 156 | ("d" . "Prefix Command") | 156 | ("e" . "prefix") |
| 157 | ("e" . "Prefix Command") | ||
| 158 | ("f" . "{ - C-f")))) | 157 | ("f" . "{ - C-f")))) |
| 159 | (should (equal | 158 | (should (equal |
| 160 | (sort (which-key--get-keymap-bindings map t) | 159 | (sort (which-key--get-keymap-bindings map nil nil nil t) |
| 161 | (lambda (a b) (string-lessp (car a) (car b)))) | 160 | (lambda (a b) (string-lessp (car a) (car b)))) |
| 162 | '(("b" . "ignore") | 161 | '(("c" . "c") |
| 163 | ("c" . "c") | ||
| 164 | ("d d" . "dd") | 162 | ("d d" . "dd") |
| 165 | ("e e e" . "eee") | 163 | ("e e e" . "eee") |
| 166 | ("f" . "{ - C-f")))))) | 164 | ("f" . "{ - C-f")))))) |