From 9a0b61da56ede4d0ff79a064d92d8c1a16cf636b Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Wed, 21 Dec 2011 22:18:26 +0400 Subject: 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'. --- test/test-lib.el | 1 + 1 file changed, 1 insertion(+) (limited to 'test/test-lib.el') 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) -- cgit v1.2.3