You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by em...@apache.org on 2021/08/19 15:43:42 UTC
[groovy] 05/05: remove test case
This is an automated email from the ASF dual-hosted git repository.
emilles pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 5daebe3467fcc31d62619b3fec7879b3b8279389
Author: Eric Milles <er...@thomsonreuters.com>
AuthorDate: Thu Aug 19 10:43:22 2021 -0500
remove test case
---
src/test/groovy/transform/stc/ArraysAndCollectionsSTCTest.groovy | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/test/groovy/transform/stc/ArraysAndCollectionsSTCTest.groovy b/src/test/groovy/transform/stc/ArraysAndCollectionsSTCTest.groovy
index 716b1a8..df087c9 100644
--- a/src/test/groovy/transform/stc/ArraysAndCollectionsSTCTest.groovy
+++ b/src/test/groovy/transform/stc/ArraysAndCollectionsSTCTest.groovy
@@ -18,7 +18,6 @@
*/
package groovy.transform.stc
-
/**
* Unit tests for static type checking : arrays and collections.
*/
@@ -67,13 +66,6 @@ class ArraysAndCollectionsSTCTest extends StaticTypeCheckingTestCase {
new X[]{new C<Number, String>()}
}
'''
- shouldFailWithMessages '''
- class C<X, Y> {
- }
- def <X extends C<Number, String>> X[] m() {
- new X[]{new C<Object, String>()}
- }
- ''', 'Cannot convert from C<java.lang.Object, java.lang.String> to X'
}
void testConvertibleTypesInArrayInitializer() {