Closed GoogleCodeExporter closed 8 years ago
Sorry, I didn't provide any information about the versions I use:
spock-core-0.6-groovy-1.8.jar
groovy-all-1.8.7.jar
Original comment by scho...@softcontract.de
on 11 Dec 2012 at 9:08
Works as designed. Only top-level expressions are automatically considered
assertions. You could either turn the loop into an expression by using such
Groovy collection methods as `every()`, `times()`, etc, or use an explicit
*assert* inside the loop.
Original comment by pnied...@gmail.com
on 12 Dec 2012 at 1:22
Original issue reported on code.google.com by
scho...@softcontract.de
on 11 Dec 2012 at 9:06