diff options
author | Jani Nikula <jani@nikula.org> | 2013-08-17 15:11:30 +0300 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-08-24 11:44:12 +0200 |
commit | 09f8ef3e3db6e9e831f3f57fcd18231af355557a (patch) | |
tree | bb9498e7d5438afe7fbb86e8607001fdd64f048d /test | |
parent | 431571242cd08a45757f229d66027afe83446faf (diff) |
test: test notmuch count --output=files
Add tests for notmuch count --output=files option.
Diffstat (limited to 'test')
-rwxr-xr-x | test/count | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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" \ |