Zsh Mailing List Archive
Messages sorted by:
Re: Test syntax documentation in B01cd is wrong?
- X-seq: zsh-workers 37205
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Test syntax documentation in B01cd is wrong?
- Date: Mon, 23 Nov 2015 09:12:25 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=wiavfwXyRxzdG6KN9HcBPGweyiilFTgjExkvXEistcY=; b=P6Z4g3saPVAGmJPCllnQnghQazN6/dVJ/d2Qn89wixXRGg+mkvICKWkTZECB7lUGg+ YjS/Amt4augdR2U+A8s/GMJ4dHiV6zdar1vGHvD8DgTzUAlLxJz/iDGVk32EymwCzSeL V/xkqQxl1Go+G+Svx3kDdE9evvacCChq7q0YQ0fNzRbeZfuRQzeGFGM6FAM9Vj0WCI9b ItPqSe+JyLzpN6uxGtn2DqTusYcxoAo1ApJqGDkWdSRvqni6YoGRpO/aMSLu/s5JsbTf jpIN9z8wPMMDsvt5wigNgiw4sYVnnvdbJETGp04zS0Y85sLzBDQfgvMzNDSr01BNr0QI Ywwg==
- In-reply-to: <email@example.com>
- List-help: <mailto:firstname.lastname@example.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:email@example.com>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <151122140533.ZM19350@torch.brasslantern.com> <firstname.lastname@example.org>
On Nov 23, 3:26pm, Peter Stephenson wrote:
} Subject: Re: Test syntax documentation in B01cd is wrong?
} Looks to me from the test driver that it should work on *any* line, not
} just the first.
diff --git a/Test/B01cd.ztst b/Test/B01cd.ztst
index a5b3769..94447e7 100644
@@ -57,13 +57,13 @@
# subsequent whitespace being significant; lines are not subject to any
# substitution unless the `q' flag (see below) is set.
-# 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. Each line following '>' or '?' must be a valid pattern, so
-# characters special to patterns such as parentheses must be quoted
-# with a backslash. The EXTENDED_GLOB option is used for all such patterns.
+# Each line of a '>' and '?' chunk may be preceded by a '*', so the line
+# starts '*>' or '*?'. This signifies that for any line with '*' in front
+# the actual output should be pattern matched against the corresponding
+# lines in the test output. Each line following '>' or '?' must be a
+# valid pattern, so characters special to patterns such as parentheses
+# must be quoted with a backslash. The EXTENDED_GLOB option is used for
+# all such patterns.
# Each chunk of indented code is to be evaluated in one go and is to
# be followed by a line starting (in the first column) with
Barton E. Schaefer
Messages sorted by: