aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/mouse-tests.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/lisp/mouse-tests.el b/test/lisp/mouse-tests.el
index f8c91004ecc..170df4a9b98 100644
--- a/test/lisp/mouse-tests.el
+++ b/test/lisp/mouse-tests.el
@@ -26,8 +26,7 @@
26;;; Code: 26;;; Code:
27 27
28(ert-deftest bug23288-use-return-value () 28(ert-deftest bug23288-use-return-value ()
29 "If ‘mouse-on-link-p’ returns a string, its first character is 29 "If `mouse-on-link-p' returns a string, its first character is used."
30used."
31 (cl-letf ((last-input-event '(down-mouse-1 nil 1)) 30 (cl-letf ((last-input-event '(down-mouse-1 nil 1))
32 (unread-command-events '((mouse-1 nil 1))) 31 (unread-command-events '((mouse-1 nil 1)))
33 (mouse-1-click-follows-link t) 32 (mouse-1-click-follows-link t)
@@ -37,8 +36,8 @@ used."
37 (should (equal unread-command-events '(?a))))) 36 (should (equal unread-command-events '(?a)))))
38 37
39(ert-deftest bug23288-translate-to-mouse-2 () 38(ert-deftest bug23288-translate-to-mouse-2 ()
40 "If mouse-on-link-p doesnt return a string or vector, 39 "If `mouse-on-link-p' doesn't return a string or vector,
41translate mouse-1 events into mouse-2 events." 40translate `mouse-1' events into `mouse-2' events."
42 (cl-letf ((last-input-event '(down-mouse-1 nil 1)) 41 (cl-letf ((last-input-event '(down-mouse-1 nil 1))
43 (unread-command-events '((mouse-1 nil 1))) 42 (unread-command-events '((mouse-1 nil 1)))
44 (mouse-1-click-follows-link t) 43 (mouse-1-click-follows-link t)