We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c86745 commit dc9548fCopy full SHA for dc9548f
src/test/org/codehaus/groovy/runtime/CustomBooleanCoercionTest.groovy
@@ -100,7 +100,7 @@ class CustomBooleanCoercionTest extends GroovyTestCase {
100
}
101
102
103
- void testOverideStringAsBooleanThroughEMC() {
+ void testOverrideStringAsBooleanThroughEMC() {
104
try {
105
String.metaClass.asBoolean = { -> true }
106
@@ -116,7 +116,7 @@ class CustomBooleanCoercionTest extends GroovyTestCase {
116
117
118
119
-/** A Predicate classe coercible to a boolea expression */
+/** A Predicate class coercible to a boolean expression */
120
class Predicate {
121
boolean value
122
boolean asBoolean() { value }
0 commit comments