Sign in
apache
/
groovy
/
refs/tags/GROOVY_1_1_BETA_3
/
.
/
groovy-core
/
src
/
test
/
groovy
/
DoWhileLoopTest.groovy
blob: 4913bfd7c5cebe8b8432797237a58c73d8f531ac [
file
] [
log
] [
blame
]
package
groovy
class
DoWhileLoopTest
extends
GroovyTestCase
{
void
testDoWhileWhile
()
{
/**
We currently do not support do ... while in the JSR syntax
def x = 0
def y = 5
do {
x = x + 1
y = y - 1
}
while ( y > 0 )
assert x == 5
*/
}
}