[PATCH] tests: add (?) flag for optional lines

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Jun 1 13:24:26 CDT 2015



On 06/01/2015 10:11 AM, Matt Mackall wrote:
> # HG changeset patch
> # User Matt Mackall <mpm at selenic.com>
> # Date 1433109574 18000
> #      Sun May 31 16:59:34 2015 -0500
> # Node ID 9eda7a4d8e3c3efc72095e64080a00abdd45b916
> # Parent  4cc3fb23881d9abc7745501ef0d777e5976ddb52
> tests: add (?) flag for optional lines

I've wished with this for quite some time.

Pushed to the clowncopter.

> --- a/tests/test-run-tests.t	Sat May 30 12:46:30 2015 +0900
> +++ b/tests/test-run-tests.t	Sun May 31 16:59:34 2015 -0500
> @@ -21,7 +21,9 @@
>     >   $ echo babar
>     >   babar
>     >   $ echo xyzzy
> +  >   never happens (?)
>     >   xyzzy
> +  >   nor this (?)

testing the case were a (?) line exist should also be great.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list