aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Mark Walters <markwalters1009@gmail.com>2012-03-14 12:26:52 +0000
committerGravatar David Bremner <bremner@debian.org>2012-03-18 09:14:23 -0300
commitfb36741bf3e81548a6f742c536f910c783756248 (patch)
treeb8ac470f1a703404d5353b856ae43872637aaf0f /test
parent28367a9bcdda7330a4d0983c3533a7bf5b9cbb8e (diff)
test: the test for the exclude code mistakenly excludes the tag "="
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.
Diffstat (limited to 'test')
-rwxr-xr-xtest/count2
-rwxr-xr-xtest/search2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/count b/test/count
index 976fff16..b97fc066 100755
--- a/test/count
+++ b/test/count
@@ -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"'
diff --git a/test/search b/test/search
index 081f60ca..3e3a4629 100755
--- a/test/search
+++ b/test/search
@@ -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