--- test/T083-sexpr-count.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/T083-sexpr-count.sh b/test/T083-sexpr-count.sh index 1be3f62d..b1c0a3ac 100755 --- a/test/T083-sexpr-count.sh +++ b/test/T083-sexpr-count.sh @@ -141,4 +141,12 @@ test_begin_subtest "no tag is used less than 4 times" output=$(notmuch count --output=messages --query=sexp '(tag (count * 3))') test_expect_equal "${output}" "0" +test_begin_subtest "subjects with unique words" +notmuch search --query=sexp '(and (from gusarov) (subject (count 1)))' | notmuch_search_sanitize > OUTPUT +cat <<EOF >EXPECTED +thread:XXX 2009-11-17 [1/1] Mikhail Gusarov; [notmuch] [PATCH] Handle rename of message file (inbox unread) +thread:XXX 2009-11-17 [1/5] Mikhail Gusarov| Carl Worth, Keith Packard; [notmuch] [PATCH 2/2] Include <stdint.h> to get uint32_t in C++ file with gcc 4.4 (inbox unread) +EOF +test_expect_equal_file EXPECTED OUTPUT + test_done -- 2.39.1 _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org