blob: 7272a3fbcc86fed6bf68b87a2795b32154bb7501 [file] [log] [blame]
/**
* @author <a href="mailto:jstrachan@protique.com">James Strachan</a>
* @version $Revision$
*/
class ClosureWithEmptyParametersTest extends GroovyTestCase {
void testNoParams() {
def block = {-> println "hey I'm a closure!" }
println "About to call closure"
block.call()
println "Done"
}
}