From 0ce9abe687c08503facdd9f4f94dfa27ada83da9 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Tue, 6 Feb 2007 10:00:24 +0000 Subject: Add forany/forall (Marcus Holmgren's patch, basically). --- test/stdout/0002 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'test/stdout/0002') 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 -- cgit v1.2.3