RosettaCodeData/Task/Assertions/Groovy/assertions-1.groovy
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

3 lines
84 B
Groovy

def checkTheAnswer = {
assert it == 42 : "This: " + it + " is not the answer!"
}