zsh-workers
 help / color / mirror / code / Atom feed
* Test syntax documentation in B01cd is wrong?
@ 2015-11-22 22:05 Bart Schaefer
  2015-11-23 15:26 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2015-11-22 22:05 UTC (permalink / raw)
  To: zsh-workers

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:

0:Aliasing reserved tokens
>begin
>end
*>*5*{ begin
*>*6*{end

Not only is that not *> on the first line, but there are two lines with
the leading splat.  Similarly in B06fc.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-23 17:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-22 22:05 Test syntax documentation in B01cd is wrong? Bart Schaefer
2015-11-23 15:26 ` Peter Stephenson
2015-11-23 17:12   ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).