From 48356b2b26476697f0ef540b8a4087542365f1d0 Mon Sep 17 00:00:00 2001 From: Johnson Denen Date: Sun, 18 Nov 2018 19:48:10 -0500 Subject: Make the test less fragile --- test/mastodon-toot-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/mastodon-toot-tests.el') diff --git a/test/mastodon-toot-tests.el b/test/mastodon-toot-tests.el index 0734723..06da870 100644 --- a/test/mastodon-toot-tests.el +++ b/test/mastodon-toot-tests.el @@ -42,4 +42,5 @@ (ert-deftest cancel () (with-mock (mock (kill-buffer-and-window)) - (should (eq nil (mastodon-toot--cancel))))) + (mastodon-toot--cancel) + (mock-verify))) -- cgit v1.2.3