summaryrefslogtreecommitdiff
path: root/test/stdout/0002
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2007-02-06 10:00:24 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2007-02-06 10:00:24 +0000
commit0ce9abe687c08503facdd9f4f94dfa27ada83da9 (patch)
treef5fa00b073bf46c891bdd26ecce2d8ae08449418 /test/stdout/0002
parent047bdd8ce4bf9cc9fd22fb22a2ebaf190d492343 (diff)
Add forany/forall (Marcus Holmgren's patch, basically).
Diffstat (limited to 'test/stdout/0002')
-rw-r--r--test/stdout/000235
1 files changed, 35 insertions, 0 deletions
diff --git a/test/stdout/0002 b/test/stdout/0002
index 623e5769b..b1f29c447 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -590,6 +590,41 @@ xyz
> Failed: non-digit after underscore in "substr_1_"
> Failed: non-digit after underscore in "substr__3"
>
+> # Iterations: forany and forall
+>
+> yes
+> yes
+> yes
+> no
+> yes
+> no
+> no
+> yes
+> yes
+>
+> Failed: unknown condition "yes" inside "forany" condition
+> Failed: missing } at end of condition inside "forany"
+>
+> yes
+> no
+> no
+> no
+>
+> no
+> yes
+> yes
+> yes
+>
+> # Expect yes
+> outer=yes item='' (unset)
+>
+> # Expect no
+> outer=no
+>
+> # Error inside nest - check message is helpful
+> Failed: missing } at end of condition inside "forall" inside "forany" condition
+>
+>
> # Miscellaneous (for bug fixes, etc)
>
> true