summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2001-06-22 06:35:54 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2001-06-22 06:35:54 +0000
commit551b5d149923b290d6f7d2cb1408d40c0e1fc2a8 (patch)
treef7d74d591288e29e3b9419dd152f416ba8f09459
parent7571f04c03734923d61623565bdf0855c3ccfea0 (diff)
downloadzsh-551b5d149923b290d6f7d2cb1408d40c0e1fc2a8.tar.gz
zsh-551b5d149923b290d6f7d2cb1408d40c0e1fc2a8.zip
15038: test case for 15023
-rw-r--r--ChangeLog5
-rw-r--r--Test/A01grammar.ztst15
2 files changed, 17 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f6417747..3ffd99172 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index b400b3fce..70bc1c15f 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -118,6 +118,15 @@
>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
print $name
done
@@ -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