Sign in
apache
/
groovy
/
4ce380cda5b437999726dfd041cb1b0781e91ec9
/
.
/
groovy
/
modules
/
classic
/
src
/
test
/
groovy
/
TypesafeMethodTest.groovy
blob: 05bd0a8d088429a97a74587d4145c18365112233 [
file
] [
log
] [
blame
]
class
TypesafeMethodTest
extends
GroovyTestCase
{
void
testTypesafeMethod
()
{
y
=
someMethod
(
1
)
assert
y
==
2
}
Integer
someMethod
(
Integer
i
)
{
return
i
+
1
}
}