From: Dmitry Kurochkin Date: Sun, 18 Dec 2011 00:21:20 +0000 (+0400) Subject: test: add broken test for `notmuch-hello-mode-hook' called during update X-Git-Tag: 0.11_rc1~18 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=9928b5b50f44d66d02f422d1f6b6a1bca72a4580 test: add broken test for `notmuch-hello-mode-hook' called during update Test that `notmuch-hello-mode-hook' is not called during `notmuch-hello' buffer updates. The test is currently broken. --- diff --git a/test/emacs b/test/emacs index a864ffa7..b4c24448 100755 --- a/test/emacs +++ b/test/emacs @@ -485,4 +485,15 @@ counter=$(test_emacs \ ) test_expect_equal "$counter" 1 +test_begin_subtest "notmuch-hello-mode hook is not called on updates" +test_subtest_known_broken +counter=$(test_emacs \ + '(let ((notmuch-hello-mode-hook-counter 0)) + (kill-buffer "*notmuch-hello*") + (notmuch-hello) + (notmuch-hello-update) + notmuch-hello-mode-hook-counter)' +) +test_expect_equal "$counter" 1 + test_done