Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Test syntax documentation in B01cd is wrong?
- X-seq: zsh-workers 37199
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Test syntax documentation in B01cd is wrong?
- Date: Sun, 22 Nov 2015 14:05:33 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:to:subject:mime-version:content-type; bh=NK1LSQzIgWkgkkInnobfRcn//TDGZd1uQVCt7R40tW4=; b=wTYXT8aK4Nll+Xdh02jM0z90R8YjdzXZ0q+q5k2Xs637q56bohhKBqpB0FTXf7xVqd YrIUWMb7B4evG7ZekPCRMcoaOEal9bYwg/OD29k3j7RdHrB4ipvBCekIENQQ0st73bML 7J3JAk4d69UHTrEouO9lnXOz8Uo/XUksvh6svES2aPF+Q7Iwd7IYk3kFb2BhcxYiRcyO Lku6LXZftAu34uEuMfwIPRjQPw4GDZqQr2V8Ua8wmgaxz6wB4Dd6NjuMxCApH9vjZ1lY 8JzekD5qISP78/oRsdYfThg07Cv6c9wnPKEUL6YeEm8KC0lAQDZ3EEDp9ODDbK93VrJ2 SMyg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author