mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-18 21:14:11 +01:00
15038: test case for 15023
This commit is contained in:
parent
7571f04c03
commit
551b5d1499
@ -1,3 +1,8 @@
|
||||
2001-06-22 Andrej Borsenkow <bor@zsh.org>
|
||||
|
||||
* 15038: Test/A01grammar.ztst: test case for 15023.
|
||||
(unposted) fix a couple of typos in test decriptions
|
||||
|
||||
2001-06-21 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 15029: Completion/Unix/Command/_man: improve pattern matching
|
||||
|
@ -116,6 +116,15 @@
|
||||
0:`for' loop
|
||||
>word
|
||||
>to
|
||||
>term
|
||||
|
||||
for name
|
||||
in word to term; do
|
||||
print $name
|
||||
done
|
||||
0:`for' loop with newline before in keyword
|
||||
>word
|
||||
>to
|
||||
>term
|
||||
|
||||
for (( name = 0; name < 3; name++ )); do
|
||||
@ -165,7 +174,7 @@
|
||||
*) print 3
|
||||
;;
|
||||
esac
|
||||
0:`case' loop, old syntax
|
||||
0:`case', old syntax
|
||||
>2
|
||||
|
||||
word=Trinity
|
||||
@ -179,7 +188,7 @@
|
||||
(*) print 3
|
||||
;;
|
||||
esac
|
||||
0:`case' loop, new syntax
|
||||
0:`case', new syntax
|
||||
>2
|
||||
|
||||
word=Hilary
|
||||
@ -193,7 +202,7 @@
|
||||
(*) print 3
|
||||
;;
|
||||
esac
|
||||
0:`case' loop, new syntax, cascaded
|
||||
0:`case', new syntax, cascaded
|
||||
>1
|
||||
>2
|
||||
>3
|
||||
|
Loading…
Reference in New Issue
Block a user