You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2021/12/20 10:51:33 UTC

[groovy] branch master updated: adjust test case for all JDK versions

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

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


The following commit(s) were added to refs/heads/master by this push:
     new d5e4834  adjust test case for all JDK versions
d5e4834 is described below

commit d5e48345354d406d03301d0c25832cb5094c01e2
Author: Paul King <pa...@asert.com.au>
AuthorDate: Mon Dec 20 20:51:26 2021 +1000

    adjust test case for all JDK versions
---
 src/test-resources/core/RecordDeclaration_14x.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test-resources/core/RecordDeclaration_14x.groovy b/src/test-resources/core/RecordDeclaration_14x.groovy
index 75eb27a..3b36650 100644
--- a/src/test-resources/core/RecordDeclaration_14x.groovy
+++ b/src/test-resources/core/RecordDeclaration_14x.groovy
@@ -20,4 +20,4 @@ package core
 
 record R2(int[] x) { }
 int[] nums = [1, 2]
-assert new R2(nums).toString() == 'R2[x=[1, 2]]'
+assert new R2(nums).x[0] == 1