Sign in
apache
/
groovy
/
67cce94e9c08bbf3a4f7611aec65e50c8e8d014b
/
.
/
groovy
/
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
*/
}
}