commit 2b9a7eb4e1d62760cbabe37b27c443a0e39636a6 parent 166c669a1d8058e5ea299720e4345f81cf54eaae Author: Nick Drozd <nicholasdrozd@gmail.com> Date: Mon, 16 Jul 2018 10:14:41 -0500 Add ido remapping test case Diffstat:
| M | test/unit-test.el | | | 10 | +++++++++- |
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/test/unit-test.el b/test/unit-test.el @@ -543,7 +543,15 @@ associated a lambda with a keybinding." 2)) ;; Undo keybinding. - (global-set-key (kbd "C-c M-S-c") nil)) + (global-set-key (kbd "C-c M-S-c") nil) + + ;; Check for ido command remapping. + (ido-mode 1) + (should + (equal + (helpful--keymaps-containing 'ido-find-file) + '(("minor-mode-map-alist (ido-mode)" "<open>" "C-x C-f")))) + (ido-mode 0)) (ert-deftest helpful--source () (-let* (((buf pos opened) (helpful--definition #'helpful--source t))