aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test-lib.el
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-12-21 22:18:26 +0400
committerGravatar David Bremner <bremner@debian.org>2011-12-22 06:57:46 -0400
commit9a0b61da56ede4d0ff79a064d92d8c1a16cf636b (patch)
treeec74344d454916dca4d23a80df66ebcb8722c2e3 /test/test-lib.el
parenteb8638ba2e6cbb25bab2e16cdfb8568e1af617cb (diff)
test: add test for `notmuch-hello-refresh-hook'
Test that `notmuch-hello-refresh-hook' is called once when `notmuch-hello' is called and twice when calling `notmuch-hello-update' after that. The tests are very similar to tests for `notmuch-hello-mode-hook'.
Diffstat (limited to 'test/test-lib.el')
-rw-r--r--test/test-lib.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-lib.el b/test/test-lib.el
index 83b8a651..3b817c37 100644
--- a/test/test-lib.el
+++ b/test/test-lib.el
@@ -75,3 +75,4 @@ nothing."
(add-hook hook (apply-partially 'hook-counter hook)))
(add-hook-counter 'notmuch-hello-mode-hook)
+(add-hook-counter 'notmuch-hello-refresh-hook)