groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: Adjust error message of test
Date Sat, 17 Feb 2018 17:27:00 GMT
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 <realbluesun@hotmail.com>
Authored: Sun Feb 18 01:26:53 2018 +0800
Committer: danielsun1106 <realbluesun@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 = []


Mime
View raw message