mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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.
This commit is contained in:
parent
785028dc2e
commit
9928b5b50f
1 changed files with 11 additions and 0 deletions
11
test/emacs
11
test/emacs
|
@ -485,4 +485,15 @@ counter=$(test_emacs \
|
||||||
)
|
)
|
||||||
test_expect_equal "$counter" 1
|
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
|
test_done
|
||||||
|
|
Loading…
Reference in a new issue