X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Femacs-hello;h=be66ba4c781efecad2bfec55e6632710fcf488de;hb=ce53850290e81ace34af5a1d418cc8941d0d3b8f;hp=b235e3ab9913dba873d077ef2582ff7c09a00815;hpb=ad6a6edb38e428f7bbcd81b49fd2ef1e5197f8c7;p=notmuch diff --git a/test/emacs-hello b/test/emacs-hello index b235e3ab..be66ba4c 100755 --- a/test/emacs-hello +++ b/test/emacs-hello @@ -44,4 +44,12 @@ 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" +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