You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/04/18 12:06:45 UTC
[groovy] 02/04: fix unintended illegal access
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 8cd2c0833504a3d247ddedc05461f146114887ec
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Apr 18 20:57:51 2019 +1000
fix unintended illegal access
---
src/test/gls/enums/EnumTest.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/gls/enums/EnumTest.groovy b/src/test/gls/enums/EnumTest.groovy
index 684f55e..4f538d2 100644
--- a/src/test/gls/enums/EnumTest.groovy
+++ b/src/test/gls/enums/EnumTest.groovy
@@ -182,7 +182,7 @@ class EnumTest extends CompilableTestSupport {
// the fix for GROOVY-3161
def void testStaticEnumFieldWithEnumValues() {
def allColors = GroovyColors3161.ALL_COLORS
- assert allColors.size == 3
+ assert allColors.size() == 3
assert allColors[0] == GroovyColors3161.red
assert allColors[1] == GroovyColors3161.blue
assert allColors[2] == GroovyColors3161.green