groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] branch GROOVY_2_5_X updated: port for GROOVY_2_5_X
Date Tue, 12 Nov 2019 08:40:20 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


The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
     new 37a27c2  port for GROOVY_2_5_X
37a27c2 is described below

commit 37a27c2d11375d27d1226c080e63cb0cd7522328
Author: Paul King <paulk@asert.com.au>
AuthorDate: Tue Nov 12 18:40:07 2019 +1000

    port for GROOVY_2_5_X
---
 src/test/groovy/bugs/Groovy9270.groovy | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/src/test/groovy/bugs/Groovy9270.groovy b/src/test/groovy/bugs/Groovy9270.groovy
index c4c794a..3de6081 100644
--- a/src/test/groovy/bugs/Groovy9270.groovy
+++ b/src/test/groovy/bugs/Groovy9270.groovy
@@ -41,19 +41,6 @@ final class Groovy9270 {
     }
 
     @Test
-    void testInstanceOfPrimitive2() {
-        def err = shouldFail '''
-            void meth(obj) {
-                if (obj !instanceof int) {
-                    // ...
-                }
-            }
-        '''
-
-        assert err =~ / Cannot perform instanceof check against primitive type int/
-    }
-
-    @Test
     void testInstanceOfPrimitiveArray() {
         assertScript '''
             void meth(obj) {


Mime
View raw message