From 2c5d93ec6a157fb84a701c9a82b0086051bb5a58 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 15 Nov 2025 13:40:18 -0600 Subject: 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. --- tests/test-mousetrap-mode--get-profile-for-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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." -- cgit v1.2.3