Skip to content

Commit

Permalink
replace rectangle-mark-mode-map with 2c-mode-map in minor modes test
Browse files Browse the repository at this point in the history
maps that are not themselves autoloads are undersupported.  See #2

Signed-off-by: Psionik K <[email protected]>
  • Loading branch information
psionic-k committed May 30, 2023
1 parent 47a969a commit 9da6dfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/user-keys-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
(should (not (member 'global-map (user-keys--major-mode-keymaps)))))

(ert-deftest user-keys--minor-mode-maps-test ()
(should (member 'rectangle-mark-mode-map (user-keys--minor-mode-keymaps)))
(should (not (member 'rectangle-mark-mode-map (user-keys--minor-mode-keymaps t))))
(should (member '2C-mode-map (user-keys--minor-mode-keymaps)))
(should (not (member '2C-mode-map (user-keys--minor-mode-keymaps t))))
(should (not (member 'prog-mode-map (user-keys--minor-mode-keymaps)))))

(ert-deftest user-keys--other-mode-maps-test ()
Expand Down

0 comments on commit 9da6dfe

Please sign in to comment.