You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2018/03/16 03:12:25 UTC
groovy git commit: Remove the puzzled test for GROOVY-8439
Repository: groovy
Updated Branches:
refs/heads/GROOVY_2_5_X d2e417412 -> cf9ff189f
Remove the puzzled test for GROOVY-8439
(cherry picked from commit 46fabd4)
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/cf9ff189
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/cf9ff189
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/cf9ff189
Branch: refs/heads/GROOVY_2_5_X
Commit: cf9ff189fec1e15861b2a568c28046d78b4e6747
Parents: d2e4174
Author: sunlan <su...@apache.org>
Authored: Fri Mar 16 07:45:55 2018 +0800
Committer: sunlan <su...@apache.org>
Committed: Fri Mar 16 11:12:21 2018 +0800
----------------------------------------------------------------------
src/test/groovy/bugs/Groovy8439Bug.groovy | 14 --------------
1 file changed, 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/cf9ff189/src/test/groovy/bugs/Groovy8439Bug.groovy
----------------------------------------------------------------------
diff --git a/src/test/groovy/bugs/Groovy8439Bug.groovy b/src/test/groovy/bugs/Groovy8439Bug.groovy
index 13af477..ccca137 100644
--- a/src/test/groovy/bugs/Groovy8439Bug.groovy
+++ b/src/test/groovy/bugs/Groovy8439Bug.groovy
@@ -46,18 +46,4 @@ class Groovy8439Bug extends GroovyTestCase {
Test.something(null, [])
'''
}
-
- void testSTCGenerics2() {
- assertScript '''
- import groovy.transform.CompileStatic
- @CompileStatic
- class Test<T extends Map> {
- static def something(List<String> strList) {
- strList.collect { "hello,$it" }
- }
- }
-
- assert ["hello,Jochen", "hello,Paul", "hello,Daniel"] == Test.something(["Jochen", "Paul", "Daniel"])
- '''
- }
}