mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
test: `notmuch-show-advance-and-archive' with invisible signature
Add Emacs test to check that `notmuch-show-advance-and-archive' works for the last message in thread with invisible signature.
This commit is contained in:
parent
760b311bb5
commit
9689656351
1 changed files with 15 additions and 0 deletions
15
test/emacs
15
test/emacs
|
@ -368,6 +368,21 @@ test_emacs "(notmuch-show \"id:$id\") \
|
||||||
(test-visible-output \"EXPECTED\")"
|
(test-visible-output \"EXPECTED\")"
|
||||||
test_expect_equal_file OUTPUT EXPECTED
|
test_expect_equal_file OUTPUT EXPECTED
|
||||||
|
|
||||||
|
test_begin_subtest 'notmuch-show-advance-and-archive with invisible signature'
|
||||||
|
test_subtest_known_broken
|
||||||
|
message1='id:20091118010116.GC25380@dottiness.seas.harvard.edu'
|
||||||
|
message2='id:1258491078-29658-1-git-send-email-dottedmag@dottedmag.net'
|
||||||
|
test_emacs "(notmuch-search \"$message1 or $message2\")
|
||||||
|
(notmuch-test-wait)
|
||||||
|
(notmuch-search-show-thread)
|
||||||
|
(goto-char (point-max))
|
||||||
|
(redisplay)
|
||||||
|
(notmuch-show-advance-and-archive)
|
||||||
|
(test-output)"
|
||||||
|
test_emacs "(notmuch-show \"$message2\")
|
||||||
|
(test-output \"EXPECTED\")"
|
||||||
|
test_expect_equal_file OUTPUT EXPECTED
|
||||||
|
|
||||||
test_begin_subtest "Refresh show buffer"
|
test_begin_subtest "Refresh show buffer"
|
||||||
test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.gmail.com")
|
test_emacs '(notmuch-show "id:f35dbb950911171438k5df6eb56k77b6c0944e2e79ae@mail.gmail.com")
|
||||||
(test-visible-output "EXPECTED")
|
(test-visible-output "EXPECTED")
|
||||||
|
|
Loading…
Reference in a new issue