groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 10/17: fix unintended illegal access
Date Fri, 19 Apr 2019 01:43:51 GMT
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 2d9b3e1f8eb1a064154924f263ef28b574015234
Author: Paul King <paulk@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


Mime
View raw message