summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-11-01 03:29:07 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-11-01 03:29:07 +0100
commit5e03dbd335170e0c6ac328e33de00d302c3abbb6 (patch)
tree512aaf5a8b59a0ccd697508fe89c15c84927c284
parent0882e98becea0e33333d36fa94fb434a58d7f247 (diff)
downloademacs-5e03dbd335170e0c6ac328e33de00d302c3abbb6.tar.gz
Fix failing help-fns tests after layout changes in `C-h b'
-rw-r--r--test/lisp/help-fns-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/help-fns-tests.el b/test/lisp/help-fns-tests.el
index 513a0c2daea..24a42290a3f 100644
--- a/test/lisp/help-fns-tests.el
+++ b/test/lisp/help-fns-tests.el
@@ -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)