Sign in
apache
/
groovy
/
4ce380cda5b437999726dfd041cb1b0781e91ec9
/
.
/
groovy
/
modules
/
classic
/
src
/
test
/
groovy
/
bugs
/
ZoharsBug.groovy
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
)}
}
}