summaryrefslogtreecommitdiff
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
commit8c4ad1ad6f5bf3ec0c0f2c9b381d614f4a0c7f8e (patch)
tree27120e06fa97bb018c6baaa411f1e1247f9e725b
parent11479b3ba3ab9dafde70b2d51afeac9c47657ad5 (diff)
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. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
-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 bfeb0bcd..db0c47b9 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."