mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
test: known broken tests for bracketed terms in subject
The heuristics in the field processor currently incorrectly trigger phrase parsing.
This commit is contained in:
parent
7167b7556c
commit
c9ed87f39f
1 changed files with 18 additions and 0 deletions
|
@ -65,6 +65,24 @@ thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; - (inbox unread)
|
|||
EOF
|
||||
test_expect_equal_file EXPECTED OUTPUT
|
||||
|
||||
test_begin_subtest "bracketed subject search (with dquotes)"
|
||||
test_subtest_known_broken
|
||||
notmuch search subject:notmuch and subject:show > EXPECTED
|
||||
notmuch search 'subject:"(show notmuch)"' > OUTPUT
|
||||
test_expect_equal_file_nonempty EXPECTED OUTPUT
|
||||
|
||||
test_begin_subtest "bracketed subject search (with dquotes and operator 'or')"
|
||||
test_subtest_known_broken
|
||||
notmuch search subject:notmuch or subject:show > EXPECTED
|
||||
notmuch search 'subject:"(notmuch or show)"' > OUTPUT
|
||||
test_expect_equal_file_nonempty EXPECTED OUTPUT
|
||||
|
||||
test_begin_subtest "bracketed subject search (with dquotes and operator 'and')"
|
||||
test_subtest_known_broken
|
||||
notmuch search subject:notmuch and subject:show > EXPECTED
|
||||
notmuch search 'subject:"(notmuch and show)"' > OUTPUT
|
||||
test_expect_equal_file_nonempty EXPECTED OUTPUT
|
||||
|
||||
test_begin_subtest "xapian wildcard search for from:"
|
||||
notmuch search --output=messages 'from:cwo*' > OUTPUT
|
||||
test_expect_equal_file cworth.msg-ids OUTPUT
|
||||
|
|
Loading…
Reference in a new issue