Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Test syntax documentation in B01cd is wrong?



On Sun, 22 Nov 2015 14:05:33 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> The comment says:
> 
> # The first line (only) of a '>' and '?' chunk may be preceded by a '*',
> # so the line starts '*>' or '*?'.  This signifies that all lines in the
> # chunk (not just the one with the '*' in front) in the actual output
> # are pattern matched against the corresponding lines in the test
> # output.
> 
> But in fact it appears you have to start EVERY line that needs to be
> pattern matched with "*>" or "*?" -- see, for example, in A02alias:

Looks to me from the test driver that it should work on *any* line, not
just the first.

pws



Messages sorted by: Reverse Date, Date, Thread, Author