You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2021/06/14 23:33:35 UTC

[GitHub] [groovy] paulk-asert commented on a change in pull request #1599: GROOVY-9382, GROOVY-10133: prefer isName() over getName() for boolean

paulk-asert commented on a change in pull request #1599:
URL: https://github.com/apache/groovy/pull/1599#discussion_r651344375



##########
File path: src/test/groovy/CategoryTest.groovy
##########
@@ -68,8 +68,21 @@ final class CategoryTest extends GroovyTestCase {
         }
     }
 
-    // GROOVY-5245
+    // GROOVY-10133
     void testCategoryDefinedProperties2() {
+        assertScript '''
+            class Cat {
+                static boolean isAbc(self) { true }
+                static boolean getAbc(self) { true }

Review comment:
       don't you want false here?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org