This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new 2994c56566 typo
2994c56566 is described below
commit 2994c56566ac508c6297158ddc6e631ed437aee4
Author: Paul King <[email protected]>
AuthorDate: Fri Jan 26 12:54:08 2024 +1000
typo
---
src/test/org/codehaus/groovy/runtime/CustomBooleanCoercionTest.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/test/org/codehaus/groovy/runtime/CustomBooleanCoercionTest.groovy
b/src/test/org/codehaus/groovy/runtime/CustomBooleanCoercionTest.groovy
index c34ba8f1ff..950a14762c 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 boolea expression */
+/** A Predicate class coercible to a boolean expression */
class Predicate {
boolean value
boolean asBoolean() { value }