[PATCH 1/3] test: fix count test
Michal Nazarewicz
mina86 at mina86.com
Thu Dec 6 05:45:42 PST 2012
On Wed, Dec 05 2012, Jani Nikula <jani at nikula.org> wrote:
> diff --git a/test/count b/test/count
> index 300b171..ecae40e 100755
> --- a/test/count
> +++ b/test/count
> @@ -6,6 +6,11 @@ add_email_corpus
>
> SEARCH="\"*\""
>
> +test_begin_subtest "check the query"
> +test_expect_equal \
> + "`notmuch count ${SEARCH}`" \
> + "`notmuch count '*'`"
> +
Maybe it would actually be beneficial to add something along the lines of:
test_begin_subtest "check the query"
test_expect_not_equal \
"`notmuch count '*'`" \
0
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +----<email/xmpp: mpn at google.com>--------------ooO--(_)--Ooo--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121206/ccce459f/attachment.pgp>
More information about the notmuch
mailing list