mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
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.
This commit is contained in:
parent
28367a9bcd
commit
fb36741bf3
2 changed files with 2 additions and 2 deletions
|
@ -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"'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue