This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 5dec8691ff0c4da4c2cb8c135cf93775092b9ffc
Author: Alex Golub <[email protected]>
AuthorDate: Fri Sep 16 19:29:09 2022 +0300

    Avoid inconvertible types warning at the `assert composite*.id == [1,2]` as 
left hand side is `ArrayList<Long>` while right hand side is 
`ArrayList<Integer>`
---
 src/spec/test/OperatorsTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/spec/test/OperatorsTest.groovy 
b/src/spec/test/OperatorsTest.groovy
index 32fd550d75..c35cc97556 100644
--- a/src/spec/test/OperatorsTest.groovy
+++ b/src/spec/test/OperatorsTest.groovy
@@ -421,7 +421,7 @@ assert null*.make == null                             // <3>
         assertScript '''
 // tag::spreaddot_iterable[]
 class Component {
-    Long id
+    Integer id
     String name
 }
 class CompositeObject implements Iterable<Component> {

Reply via email to