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 2017/09/01 21:56:29 UTC

groovy git commit: Refine the error message of generics test

Repository: groovy
Updated Branches:
  refs/heads/master 365a3e83f -> 96279141f


Refine the error message of generics test


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/96279141
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/96279141
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/96279141

Branch: refs/heads/master
Commit: 96279141ff930f973bdf1c4b147ccfccec380f50
Parents: 365a3e8
Author: sunlan <su...@apache.org>
Authored: Sat Sep 2 05:56:24 2017 +0800
Committer: sunlan <su...@apache.org>
Committed: Sat Sep 2 05:56:24 2017 +0800

----------------------------------------------------------------------
 src/test/gls/generics/GenericsTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/96279141/src/test/gls/generics/GenericsTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/gls/generics/GenericsTest.groovy b/src/test/gls/generics/GenericsTest.groovy
index bfb726c..3fe0e69 100644
--- a/src/test/gls/generics/GenericsTest.groovy
+++ b/src/test/gls/generics/GenericsTest.groovy
@@ -411,7 +411,7 @@ import java.util.concurrent.atomic.AtomicInteger
 
             shouldFailCompilationWithMessage """
                 def m(Class<Integer someParam) {}
-            """, "Unexpected input: '<'"
+            """, "Unexpected input: 'Class<Integer someParam'"
 
             shouldFailCompilationWithMessage """
                 abstract class ArrayList1<E extends AbstractList<E> implements List<E> {}