Sign in
apache
/
groovy
/
4ce380cda5b437999726dfd041cb1b0781e91ec9
/
.
/
groovy
/
modules
/
classic
/
src
/
test
/
groovy
/
ChainedAssignment.groovy
blob: 25d0a9822013eca61776fcf4d068e309cd275584 [
file
] [
log
] [
blame
]
class
ChainedAssignment
extends
GroovyTestCase
{
dummy
(
v
)
{
print
v
}
void
testCompare
()
{
i
=
123
s
=
"hello"
i1
=
i2
=
i
;
assert
i1
==
123
assert
i2
==
123
dummy
(
s1
=
s
)
assert
s1
==
"hello"
}
}