diff --git a/src/test/org/codehaus/groovy/runtime/CustomBooleanCoercionTest.groovy b/src/test/org/codehaus/groovy/runtime/CustomBooleanCoercionTest.groovy index bbda753125d..e50bcd97879 100644 --- a/src/test/org/codehaus/groovy/runtime/CustomBooleanCoercionTest.groovy +++ b/src/test/org/codehaus/groovy/runtime/CustomBooleanCoercionTest.groovy @@ -102,7 +102,7 @@ class CustomBooleanCoercionTest extends GroovyTestCase { } } - void testOverideStringAsBooleanThroughEMC() { + void testOverrideStringAsBooleanThroughEMC() { try { String.metaClass.asBoolean = { -> true } @@ -118,7 +118,7 @@ class CustomBooleanCoercionTest extends GroovyTestCase { } } -/** A Predicate classe coercible to a boolean expression */ +/** A Predicate class coercible to a boolean expression */ class Predicate { boolean value boolean asBoolean() { value }