diff options
author | Mark Walters <markwalters1009@gmail.com> | 2012-03-01 22:30:39 +0000 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-03-02 08:31:42 -0400 |
commit | c440e597f9a32c7050fa0cc553b6166941724588 (patch) | |
tree | 5309a127d318e0769bbec1046b009b3fa276cddc /test | |
parent | 1a53f9f116fa7c460cda3df532be921baaafb082 (diff) |
test: update search test to reflect exclude flag
notmuch-search.c now returns all matching threads even if it the
match is a search.tag_excluded message (but with a mark indicating
this). Update the test to reflect this.
Diffstat (limited to 'test')
-rwxr-xr-x | test/search | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/search b/test/search index 3da5d173..081f60ca 100755 --- a/test/search +++ b/test/search @@ -136,7 +136,8 @@ generate_message '[subject]="Deleted"' notmuch new > /dev/null notmuch tag +deleted id:$gen_msg_id output=$(notmuch search subject:deleted | notmuch_search_sanitize) -test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Not deleted (inbox unread)" +test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Not deleted (inbox unread) +thread:XXX 2001-01-05 [0/1] Notmuch Test Suite; Deleted (deleted inbox unread)" test_begin_subtest "Exclude \"deleted\" messages from search, overridden" output=$(notmuch search subject:deleted and tag:deleted | notmuch_search_sanitize) |