blob: 90ceb9c4974592557438f0d4caede5cf5148b3b1 [file] [log] [blame]
/**
* @author Zohar Melamed
* @version $Revision$
*/
class ZoharsBug extends GroovyTestCase {
void testBug() {
values = [1,2,3,4]
result = bloo(values, {it > 1})
result.each{println(it)}
}
bloo(a,b){
return a.findAll{b.call(it)}
}
}