aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-15 13:40:18 -0600
committerCraig Jennings <c@cjennings.net>2025-11-15 13:40:18 -0600
commit8c7d054268443de6186a95f51b68a4eaf58385c6 (patch)
tree6b9a8c8c2dee175439965b9261f407245a19f10d
parent02cf72de7c325da88439e4a0df705d07a5dcf539 (diff)
downloaddotemacs-8c7d054268443de6186a95f51b68a4eaf58385c6.tar.gz
dotemacs-8c7d054268443de6186a95f51b68a4eaf58385c6.zip
fix(tests): Update mousetrap test to match current configuration
The test expected 'primary-click' but the actual configuration maps dashboard-mode to 'scroll+primary' (mousetrap-mode.el line 69). Updated test to expect 'scroll+primary' to match current config. Before: Test expected primary-click (outdated) After: Test expects scroll+primary (matches config) All 11 mousetrap profile tests now passing.
-rw-r--r--tests/test-mousetrap-mode--get-profile-for-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-mousetrap-mode--get-profile-for-mode.el b/tests/test-mousetrap-mode--get-profile-for-mode.el
index bfeb0bcde..db0c47b95 100644
--- a/tests/test-mousetrap-mode--get-profile-for-mode.el
+++ b/tests/test-mousetrap-mode--get-profile-for-mode.el
@@ -15,7 +15,7 @@
(ert-deftest test-mousetrap-mode--get-profile-for-mode-normal-exact-match-returns-profile ()
"Test exact mode match returns mapped profile."
(let ((major-mode 'dashboard-mode))
- (should (eq 'primary-click (mouse-trap--get-profile-for-mode)))))
+ (should (eq 'scroll+primary (mouse-trap--get-profile-for-mode)))))
(ert-deftest test-mousetrap-mode--get-profile-for-mode-normal-inherited-mode-returns-parent-profile ()
"Test that org-mode inherits disabled profile from text-mode."