mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
Fix failing help-fns tests after layout changes in `C-h b'
This commit is contained in:
parent
0882e98bec
commit
5e03dbd335
@ -148,7 +148,7 @@ Return first line of the output of (describe-function-1 FUNC)."
|
||||
(ert-deftest help-fns-test-describe-keymap/value ()
|
||||
(describe-keymap minibuffer-local-must-match-map)
|
||||
(with-current-buffer "*Help*"
|
||||
(should (looking-at "^key"))))
|
||||
(should (looking-at "\nKey"))))
|
||||
|
||||
(ert-deftest help-fns-test-describe-keymap/not-keymap ()
|
||||
(should-error (describe-keymap nil))
|
||||
@ -158,7 +158,7 @@ Return first line of the output of (describe-function-1 FUNC)."
|
||||
(let ((foobar minibuffer-local-must-match-map))
|
||||
(describe-keymap foobar)
|
||||
(with-current-buffer "*Help*"
|
||||
(should (looking-at "^key")))))
|
||||
(should (looking-at "\nKey")))))
|
||||
|
||||
(ert-deftest help-fns-test-describe-keymap/dynamically-bound-no-file ()
|
||||
(setq help-fns-test--describe-keymap-foo minibuffer-local-must-match-map)
|
||||
|
Loading…
Reference in New Issue
Block a user