]> git.notmuchmail.org Git - notmuch/commitdiff
test: the test for the exclude code mistakenly excludes the tag "="
authorMark Walters <markwalters1009@gmail.com>
Wed, 14 Mar 2012 12:26:52 +0000 (12:26 +0000)
committerDavid Bremner <bremner@debian.org>
Sun, 18 Mar 2012 12:14:23 +0000 (09:14 -0300)
The tests for the exclude code in search and count use the line
    notmuch config set search.exclude_tags = deleted
which actually sets the exclude tags to be "=" and "deleted". Remove
the "=" from this line.

test/count
test/search

index 976fff16432f28567becb9e7368ebf1b6ec16576..b97fc06652f33f87fcf3a4d6016b1b28db536695 100755 (executable)
@@ -38,7 +38,7 @@ test_expect_equal \
     "`notmuch count --output=threads ${SEARCH}`"
 
 test_begin_subtest "count excluding \"deleted\" messages"
-notmuch config set search.exclude_tags deleted
+notmuch config set search.exclude_tags deleted
 generate_message '[subject]="Not deleted"'
 generate_message '[subject]="Another not deleted"'
 generate_message '[subject]="Deleted"'
index 081f60ca81d7346143eabae0c7c810ebf4c4bc4b..3e3a4629f954e5a0577418d6a81996efd1c0bc45 100755 (executable)
@@ -130,7 +130,7 @@ output=$(notmuch search "bödý" | notmuch_search_sanitize)
 test_expect_equal "$output" "thread:XXX   2000-01-01 [1/1] Notmuch Test Suite; utf8-message-body-subject (inbox unread)"
 
 test_begin_subtest "Exclude \"deleted\" messages from search"
-notmuch config set search.exclude_tags deleted
+notmuch config set search.exclude_tags deleted
 generate_message '[subject]="Not deleted"'
 generate_message '[subject]="Deleted"'
 notmuch new > /dev/null