diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-06-17 20:08:55 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-06-17 20:08:55 +0200 |
commit | da208f99d801306440092d7b18ccc8d799879f4c (patch) | |
tree | 5161aa12e4f04374f44b2a63716b5c00221806bf /test/lisp/bookmark-tests.el | |
parent | 4cdeec88cef60dfc4366368edc515115ef0ccd02 (diff) | |
download | emacs-da208f99d801306440092d7b18ccc8d799879f4c.tar.gz emacs-da208f99d801306440092d7b18ccc8d799879f4c.tar.bz2 emacs-da208f99d801306440092d7b18ccc8d799879f4c.zip |
Update bookmark tests for recent change
* test/lisp/bookmark-tests.el (bookmark-tests-set/bookmark-use-annotations-t)
(bookmark-tests-edit-annotation)
(bookmark-test-bmenu-send-edited-annotation)
(bookmark-test-bmenu-send-edited-annotation/restore-focus): Update for
recent change.
Diffstat (limited to 'test/lisp/bookmark-tests.el')
-rw-r--r-- | test/lisp/bookmark-tests.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lisp/bookmark-tests.el b/test/lisp/bookmark-tests.el index a2d8f2d260b..3bea08bc37a 100644 --- a/test/lisp/bookmark-tests.el +++ b/test/lisp/bookmark-tests.el @@ -301,7 +301,7 @@ the lexically-bound variable `buffer'." (bookmark-set "foo") (should (equal major-mode 'bookmark-edit-annotation-mode)) ;; Should return to the original buffer - (bookmark-send-edited-annotation) + (bookmark-edit-annotation-confirm) (should (equal (current-buffer) buffer)))))) (ert-deftest bookmark-tests-kill-line () @@ -334,7 +334,7 @@ the lexically-bound variable `buffer'." (with-bookmark-test (bookmark-edit-annotation "name") (insert "new text") - (bookmark-send-edited-annotation) + (bookmark-edit-annotation-confirm) (should (equal (bookmark-get-annotation "name") "new text")))) (ert-deftest bookmark-tests-jump () @@ -471,7 +471,7 @@ testing `bookmark-bmenu-list'." (with-bookmark-bmenu-test (bookmark-bmenu-edit-annotation) (insert "foo") - (bookmark-send-edited-annotation) + (bookmark-edit-annotation-confirm) (should (equal (bookmark-get-annotation "name") "foo")))) (ert-deftest bookmark-test-bmenu-send-edited-annotation/restore-focus () @@ -479,7 +479,7 @@ testing `bookmark-bmenu-list'." (with-bookmark-bmenu-test (bookmark-bmenu-edit-annotation) (insert "foo") - (bookmark-send-edited-annotation) + (bookmark-edit-annotation-confirm) (should (equal (buffer-name (current-buffer)) bookmark-bmenu-buffer)) (beginning-of-line) (forward-char 4) |