Re: [PATCH 1/3] test: fix count test

Subject: Re: [PATCH 1/3] test: fix count test

Date: Thu, 06 Dec 2012 14:45:42 +0100

To: Jani Nikula, notmuch@notmuchmail.org

Cc:

From: Michal Nazarewicz


On Wed, Dec 05 2012, Jani Nikula <jani@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@google.com>--------------ooO--(_)--Ooo--

Thread: