From f3cfd273f9d7f23cff8da1f483e975eaefba6e0e Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sun, 31 Dec 2023 11:01:16 +0100 Subject: mastodon--kill-window in toot-tests.el --- test/mastodon-toot-tests.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/mastodon-toot-tests.el b/test/mastodon-toot-tests.el index 6133453..62f6f86 100644 --- a/test/mastodon-toot-tests.el +++ b/test/mastodon-toot-tests.el @@ -117,9 +117,9 @@ mention string." (list (current-window-configuration) (point-marker)))) (with-mock - (mock (kill-buffer-and-window)) - (mastodon-toot--kill) - (mock-verify)))) + (mock (mastodon--kill-window)) + (mastodon-toot--kill) + (mock-verify)))) (ert-deftest mastodon-toot--own-toot-p-fail () "Should not return t if not own toot." -- cgit v1.2.3