aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2018-11-18 19:48:10 -0500
committerJohnson Denen <johnson.denen@gmail.com>2019-03-04 22:44:28 -0500
commit48356b2b26476697f0ef540b8a4087542365f1d0 (patch)
tree44affaec71ff6706a1c97bbdc90d4f4a455ab184 /test
parentd90d10741b1dde17eca4b4fd0b034d37d52d5dc0 (diff)
Make the test less fragile
Diffstat (limited to 'test')
-rw-r--r--test/mastodon-toot-tests.el3
1 files changed, 2 insertions, 1 deletions
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)))