diff options
author | Dmitry Kurochkin <dmitry.kurochkin@gmail.com> | 2012-03-09 11:34:52 +0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-04-05 07:37:53 -0300 |
commit | 818790f7b52fbab06b9536e4d90c6142cadfcd5f (patch) | |
tree | efa98047b2faf9d3e81b8f03dd8a943f45bcdfd9 /test/emacs-hello | |
parent | e4844fafec0dd789fe304b412c76f594850b833e (diff) |
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.
Diffstat (limited to 'test/emacs-hello')
-rwxr-xr-x | test/emacs-hello | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/emacs-hello b/test/emacs-hello index b235e3ab..9e5d0454 100755 --- a/test/emacs-hello +++ b/test/emacs-hello @@ -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 |