blob: b09d0cddf6137de5f74874bb487c344825266741 [file] [log] [blame]
package groovy.bugs
/**
* @version $Revision: 1.4 $
*/
class ChristofsPropertyBug extends GroovyTestCase {
def mixedCaseProperty
void testChristofsPropertyBug() {
this.mixedCaseProperty = "test"
shouldFail({this.mixedcaseproperty = "test"})
}
def getMixedCaseProperty() { mixedCaseProperty }
def setMixedCaseProperty(val) { this.mixedCaseProperty = val }
}