]> git.notmuchmail.org Git - notmuch/blobdiff - test/emacs-hello
test: add broken test for long names in Emacs notmuch-hello view
[notmuch] / test / emacs-hello
index b235e3ab9913dba873d077ef2582ff7c09a00815..9e5d04544a2161f6e58ece5ac726a2991617f74f 100755 (executable)
@@ -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