mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
test: add broken test for long names in Emacs notmuch-hello view
Currently, the column alignment in Emacs notmuch-hello is broken for tags/queries with long names.
This commit is contained in:
parent
e4844fafec
commit
818790f7b5
2 changed files with 27 additions and 0 deletions
|
@ -44,4 +44,13 @@ test_emacs "(let ((notmuch-hello-sections
|
|||
(test-output))"
|
||||
test_expect_equal_file OUTPUT $EXPECTED/notmuch-hello-section-counts
|
||||
|
||||
test_begin_subtest "Column alignment for tag/queries with long names"
|
||||
test_subtest_known_broken
|
||||
tag=a-very-long-tag # length carefully calculated for 80 characters window width
|
||||
notmuch tag +$tag '*'
|
||||
test_emacs '(notmuch-hello)
|
||||
(test-output)'
|
||||
notmuch tag -$tag '*'
|
||||
test_expect_equal_file OUTPUT $EXPECTED/notmuch-hello-long-names
|
||||
|
||||
test_done
|
||||
|
|
18
test/emacs.expected-output/notmuch-hello-long-names
Normal file
18
test/emacs.expected-output/notmuch-hello-long-names
Normal file
|
@ -0,0 +1,18 @@
|
|||
Welcome to notmuch. You have 52 messages.
|
||||
|
||||
Saved searches: [edit]
|
||||
|
||||
52 inbox 52 unread
|
||||
|
||||
Search: .
|
||||
|
||||
All tags: [hide]
|
||||
|
||||
52 a-very-long-tag 52 inbox 52 unread
|
||||
4 attachment 7 signed
|
||||
|
||||
Type a search query and hit RET to view matching threads.
|
||||
Edit saved searches with the `edit' button.
|
||||
Hit RET or click on a saved search or tag name to view matching threads.
|
||||
`=' to refresh this screen. `s' to search messages. `q' to quit.
|
||||
Customize this page.
|
Loading…
Reference in a new issue