]> git.cworth.org Git - notmuch/blobdiff - test/count
cli: move count to the new --exclude=(true|false|flag) naming scheme.
[notmuch] / test / count
index 976fff16432f28567becb9e7368ebf1b6ec16576..fd387e541d170a746f987c4583c9c9835878a96b 100755 (executable)
@@ -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"'
@@ -53,9 +53,9 @@ test_expect_equal \
     "1" \
     "`notmuch count subject:deleted and tag:deleted`"
 
-test_begin_subtest "count \"deleted\" messages, with --no-exclude"
+test_begin_subtest "count \"deleted\" messages, --exclude=false"
 test_expect_equal \
     "3" \
-    "`notmuch count --no-exclude subject:deleted`"
+    "`notmuch count --exclude=false subject:deleted`"
 
 test_done