Closed GoogleCodeExporter closed 8 years ago
I remember it was a bug in the old versions of Groovy, but I try the following
script in Groovy 1.7.7 and it passes. Seems the bug has been fixed.
@Grab(group='org.gmock', module='gmock', version='0.8.1')
import org.gmock.GMockTestCase
class Test extends GMockTestCase {
void "test something"() {
def m = mock()
m.fun()
play {
m.fun()
}
}
}
Which version of Groovy are you using?
Original comment by JohnnyJianHY
on 15 Feb 2011 at 4:29
In about 3-4 hours, I will be using Groovy 1.7.8, so i'll try it then!
Currently Groovy 1.7.6
Original comment by adjo...@gmail.com
on 15 Feb 2011 at 11:13
Original comment by JohnnyJianHY
on 25 Feb 2011 at 5:57
Original issue reported on code.google.com by
adjo...@gmail.com
on 15 Feb 2011 at 12:21