Sign in
apache
/
groovy
/
refs/tags/GROOVY_1_1_BETA_3
/
.
/
groovy-core
/
src
/
test
/
groovy
/
bugs
/
NestedClosureBug.groovy
blob: 9aef29c16822ea33c6e7750f114a4109d756b037 [
file
] [
log
] [
blame
]
package
groovy
.
bugs
/**
* @version $Revision$
*/
class
NestedClosureBug
extends
GroovyTestCase
{
void
testBug
()
{
def
a
=
123
getValues
().
each
{
println it
it
.
each
{
assert
a
==
123
}
}
}
def
getValues
()
{
[
5
,
6
,
7
]
}
}