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 error messages
Date Thu, 05 Oct 2017 05:59:12 GMT
Repository: groovy
Updated Branches:
  refs/heads/master a4306dcb7 -> 18de060f6


Refine error messages

(cherry picked from commit a4306dc)


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

Branch: refs/heads/master
Commit: 18de060f66dc10298fee39fab9c653add463e0c7
Parents: a4306dc
Author: sunlan <sunlan@apache.org>
Authored: Thu Oct 5 13:59:04 2017 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Thu Oct 5 13:59:04 2017 +0800

----------------------------------------------------------------------
 src/test/gls/generics/GenericsTest.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/18de060f/src/test/gls/generics/GenericsTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/gls/generics/GenericsTest.groovy b/src/test/gls/generics/GenericsTest.groovy
index 2a57ec5..0f8df3b 100644
--- a/src/test/gls/generics/GenericsTest.groovy
+++ b/src/test/gls/generics/GenericsTest.groovy
@@ -427,11 +427,11 @@ import java.util.concurrent.atomic.AtomicInteger
 
             shouldFailCompilationWithMessage """
                 def List<List<Integer> history = new ArrayList<List<Integer>>()
-            """, "Unexpected input: 'def List<List<Integer> history'"
+            """, "Unexpected input: '<'"
 
             shouldFailCompilationWithMessage """
                 def List<List<Integer>> history = new ArrayList<List<Integer>()
-            """, "Unexpected input: 'new ArrayList<List<Integer>('"
+            """, "Unexpected input:"
         }
     }
 


Mime
View raw message