This is an automated email from the ASF dual-hosted git repository. sunlan pushed a commit to branch danielsun/try-jdk23 in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/danielsun/try-jdk23 by this push: new e1cd8243d8 Fix failing test for JDK 23 e1cd8243d8 is described below commit e1cd8243d868fa681d76e7c5d951610e30e036e4 Author: Daniel Sun <sun...@apache.org> AuthorDate: Wed Mar 27 01:01:55 2024 +0800 Fix failing test for JDK 23 --- src/test/org/codehaus/groovy/runtime/AppendableDgmMethodsTest.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/org/codehaus/groovy/runtime/AppendableDgmMethodsTest.groovy b/src/test/org/codehaus/groovy/runtime/AppendableDgmMethodsTest.groovy index 28053ab970..037742c018 100644 --- a/src/test/org/codehaus/groovy/runtime/AppendableDgmMethodsTest.groovy +++ b/src/test/org/codehaus/groovy/runtime/AppendableDgmMethodsTest.groovy @@ -38,6 +38,8 @@ class AppendableDgmMethodsTest extends GroovyTestCase { f.format(" %tY", Date.parse('dd MM yyyy', '01 01 2001')) f.format(Locale.FRANCE, " e = %+10.4f", Math.E) } - assert store.join('') == 'hello [a:1, b:2] 2001 e = +2,7183' + assert store.join('') in ['hello [a:1, b:2] 2001 e = +2,7183', + 'hello [a:1, b:2] 2001 e = +2.7183' // for JDK 23 + ] } }