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:56:32 UTC

[3/3] groovy git commit: Adjust error message of test

Adjust error message of test

(cherry picked from commit cfc6c4d)


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 6ec8f8ed9307d4301b4671a652e2805bccbed624
Parents: e4133b5
Author: danielsun1106 <re...@hotmail.com>
Authored: Sun Feb 18 01:26:53 2018 +0800
Committer: danielsun1106 <re...@hotmail.com>
Committed: Sun Feb 18 01:47:13 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/6ec8f8ed/src/test/gls/generics/GenericsTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/gls/generics/GenericsTest.groovy b/src/test/gls/generics/GenericsTest.groovy
index 7ae33e4..a7865cd 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 = []