diff options
| author | Justin Burkett | 2021-06-21 13:59:56 -0400 |
|---|---|---|
| committer | Justin Burkett | 2021-06-21 13:59:56 -0400 |
| commit | 8a558e6a794da76f689f8404f9e7e8d030cfb49c (patch) | |
| tree | 12833695ea9f8458e4f9a9aeb570f5cdb3a36c7c | |
| parent | fc8855187f087635de4162071882405861460e05 (diff) | |
| download | emacs-8a558e6a794da76f689f8404f9e7e8d030cfb49c.tar.gz emacs-8a558e6a794da76f689f8404f9e7e8d030cfb49c.zip | |
Update tests
| -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")))))) |