aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2025-02-10 15:28:56 +0100
committerStefan Kangas2025-02-10 21:44:21 +0100
commitaf528d9ea40d027fa0100578b8b753b1ec3c0432 (patch)
treeeec18f8701b236e0dc1dbce6f7e7d9820cfe7bb1
parent0c7214dc97aef577487d71851580e8a68784075d (diff)
downloademacs-af528d9ea40d027fa0100578b8b753b1ec3c0432.tar.gz
emacs-af528d9ea40d027fa0100578b8b753b1ec3c0432.zip
; Add test for my last commit
* test/lisp/help-fns-tests.el (help-fns-test-bug76172): New test.
-rw-r--r--test/lisp/help-fns-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/help-fns-tests.el b/test/lisp/help-fns-tests.el
index 67fc9d96c9c..2429cd73513 100644
--- a/test/lisp/help-fns-tests.el
+++ b/test/lisp/help-fns-tests.el
@@ -85,6 +85,10 @@ Return first line of the output of (describe-function-1 FUNC)."
85 (result (help-fns-tests--describe-function 'search-forward-regexp))) 85 (result (help-fns-tests--describe-function 'search-forward-regexp)))
86 (should (string-match regexp result)))) 86 (should (string-match regexp result))))
87 87
88(ert-deftest help-fns-test-bug76172 ()
89 "No error when describing `menu-bar-open-mouse'."
90 (should (stringp (help-fns-tests--describe-function 'menu-bar-open-mouse))))
91
88(ert-deftest help-fns-test-dangling-alias () 92(ert-deftest help-fns-test-dangling-alias ()
89 "Make sure we don't burp on bogus aliases." 93 "Make sure we don't burp on bogus aliases."
90 (let ((f (make-symbol "bogus-alias"))) 94 (let ((f (make-symbol "bogus-alias")))