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/02/17 17:27:00 UTC

groovy git commit: Adjust error message of test

Repository: groovy
Updated Branches:
  refs/heads/master a1a374674 -> cfc6c4df2


Adjust error message of test


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

Branch: refs/heads/master
Commit: cfc6c4df2f07dd7a8a5e09212d996a21774afc04
Parents: a1a3746
Author: danielsun1106 <re...@hotmail.com>
Authored: Sun Feb 18 01:26:53 2018 +0800
Committer: danielsun1106 <re...@hotmail.com>
Committed: Sun Feb 18 01:26:53 2018 +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/cfc6c4df/src/test/gls/generics/GenericsTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/gls/generics/GenericsTest.groovy b/src/test/gls/generics/GenericsTest.groovy
index 3fe0e69..59fea06 100644
--- a/src/test/gls/generics/GenericsTest.groovy
+++ b/src/test/gls/generics/GenericsTest.groovy
@@ -402,7 +402,7 @@ import java.util.concurrent.atomic.AtomicInteger
 
             shouldFailCompilationWithMessage """
                 List<Integer list2 = new ArrayList<Integer>()
-            """, "Unexpected input: 'list2'"
+            """, "Unexpected input: 'List<Integer list2'"
 
             shouldFailCompilationWithMessage """
                 def c = []