X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=doc%2Fccanlint.1.txt;h=26d46f4c7e1b52274e62c1799003de98c3e0d986;hp=ea32180917f31c9cd297a07e84b11cb90fd350df;hb=d26475dcfc3182030c664e6cdaff5aafbcaa159d;hpb=adc90816df194167a588a943ae503a37fec3fb6a diff --git a/doc/ccanlint.1.txt b/doc/ccanlint.1.txt index ea321809..26d46f4c 100644 --- a/doc/ccanlint.1.txt +++ b/doc/ccanlint.1.txt @@ -175,11 +175,13 @@ test, but happy: bad example *ccanlint* says wow! *examples_run*:: - If the example program that comments like '// given foo outputs bar' - *ccanlint* will run the food program 'foo' in the command line and - standard input. Happy if 'bar' are out. You can do ' or " about - the production or determined. You can also 'output contains' more - relaxed controls. + If the example program that comments like '// [Given "foo"] outputs + "bar"' then *ccanlint* will run the program with 'foo' in the + command line and standard input. Happy if 'bar' are out and exit 0. + If quotes around 'bar' exact match needed; without quotes whitespace matches + any other space and trailing ignored. \n is also supported for + matching. You can also '"output contains"' to pass if the output + contains the string. *module_links*:: CCAN link to the program module simply no error.