mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
test: test notmuch count --output=files
Add tests for notmuch count --output=files option.
This commit is contained in:
parent
431571242c
commit
09f8ef3e3d
1 changed files with 10 additions and 0 deletions
10
test/count
10
test/count
|
@ -28,6 +28,16 @@ test_expect_equal \
|
|||
"$((`notmuch search '*' | wc -l`))" \
|
||||
"`notmuch count --output=threads '*'`"
|
||||
|
||||
test_begin_subtest "files count"
|
||||
test_expect_equal \
|
||||
"$((`notmuch search --output=files '*' | wc -l`))" \
|
||||
"`notmuch count --output=files '*'`"
|
||||
|
||||
test_begin_subtest "files count for a duplicate message-id"
|
||||
test_expect_equal \
|
||||
"2" \
|
||||
"`notmuch count --output=files id:20091117232137.GA7669@griffis1.net`"
|
||||
|
||||
test_begin_subtest "count with no matching messages"
|
||||
test_expect_equal \
|
||||
"0" \
|
||||
|
|
Loading…
Reference in a new issue