groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: Refine the error message of generics test
Date Fri, 01 Sep 2017 22:38:24 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 11255313c -> c9d6c4cd8


Refine the error message of generics test

(cherry picked from commit 9627914)


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

Branch: refs/heads/GROOVY_2_6_X
Commit: c9d6c4cd8f27d93977265b83a7d1a6672b2525b7
Parents: 1125531
Author: sunlan <sunlan@apache.org>
Authored: Sat Sep 2 05:56:24 2017 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Sat Sep 2 06:38:16 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/c9d6c4cd/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>
{}


Mime
View raw message