X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fcount;h=300b171419734d649a41e2a8a0a567dd879f8d26;hp=976fff16432f28567becb9e7368ebf1b6ec16576;hb=65801835ee47dc4cada82c8a3ae16e8177a7919a;hpb=4d17a34286dc67fd434a9c8ca3518bf878ecf78b diff --git a/test/count b/test/count index 976fff16..300b1714 100755 --- a/test/count +++ b/test/count @@ -37,25 +37,4 @@ test_expect_equal \ "0" \ "`notmuch count --output=threads ${SEARCH}`" -test_begin_subtest "count excluding \"deleted\" messages" -notmuch config set search.exclude_tags = deleted -generate_message '[subject]="Not deleted"' -generate_message '[subject]="Another not deleted"' -generate_message '[subject]="Deleted"' -notmuch new > /dev/null -notmuch tag +deleted id:$gen_msg_id -test_expect_equal \ - "2" \ - "`notmuch count subject:deleted`" - -test_begin_subtest "count \"deleted\" messages, exclude overridden" -test_expect_equal \ - "1" \ - "`notmuch count subject:deleted and tag:deleted`" - -test_begin_subtest "count \"deleted\" messages, with --no-exclude" -test_expect_equal \ - "3" \ - "`notmuch count --no-exclude subject:deleted`" - test_done