[ccan] [PATCH] ccanlint: enhance and streamline "output" testing lines.

David Gibson david at gibson.dropbear.id.au
Tue Sep 29 00:58:32 AEST 2015


On Tue, Sep 29, 2015 at 12:32:36AM +1000, David Gibson wrote:
> On Mon, Sep 28, 2015 at 12:48:03PM +0930, Paul 'Rusty' Russell wrote:
> > 1) Require "" around input
> > 2) Make them optional around output: if not there, loose match whitespace
> > 3) Handle \n in output.
> > 4) Document that "Given xxx" is optional.
> 
> Patch looks fine to me.

I take that back.  With a bit more playing, noticed that if you
*don't* put" around the input, it will silently skip the example
expected output test.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20150929/a6d488fc/attachment-0001.sig>


More information about the ccan mailing list