On Sun, Oct 05, 2008 at 08:03:43PM +0200, Moritz Lenz wrote: : Patrick R. Michaud wrote: : > On Fri, Oct 03, 2008 at 10:02:56AM +0200, [EMAIL PROTECTED] wrote: : >> +#?rakudo skip ',=' : >> +#?DOES 2 : >> +{ : >> + my @a = 1, 2; : >> + is (@a ,= 3, 4).join('|'), '1|2|3|4', ',= on lists works the same as push (return value)' : >> + is @a.join('|'), '1|2|3|4', ',= on lists works the same as push (effect on array)' : >> + : >> +} : > : > In general the #?DOES line is needed only if there's a loop or a : > test somehow is executed more times than it appears in the code. : : ... or if the test file exceeds fudge's counting capabilities, and : produces randomly looking counts of skips or TODOs. Sadly assign.t is : such a case, where most of the #?DOES directives shouldn't be necessary, : and still you get a "bad plan" if you leave them out.
Well, the missing semicolons could have something to do with it. fudge relies on the fact that statements end with semicolon or brace. Larry