This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_4_0_X by this push:
new 43718944c6 test fixes
43718944c6 is described below
commit 43718944c645eb991ce270ce17c705e321501ed1
Author: Paul King <[email protected]>
AuthorDate: Wed Apr 16 15:53:51 2025 +1000
test fixes
---
.../org/codehaus/groovy/runtime/AppendableDgmMethodsTest.groovy | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/src/test/groovy/org/codehaus/groovy/runtime/AppendableDgmMethodsTest.groovy
b/src/test/groovy/org/codehaus/groovy/runtime/AppendableDgmMethodsTest.groovy
index 28053ab970..20631dbbd1 100644
---
a/src/test/groovy/org/codehaus/groovy/runtime/AppendableDgmMethodsTest.groovy
+++
b/src/test/groovy/org/codehaus/groovy/runtime/AppendableDgmMethodsTest.groovy
@@ -36,7 +36,9 @@ class AppendableDgmMethodsTest extends GroovyTestCase {
app << [a:1, b:2]
app.withFormatter { Formatter f ->
f.format(" %tY", Date.parse('dd MM yyyy', '01 01 2001'))
- f.format(Locale.FRANCE, " e = %+10.4f", Math.E)
+ }
+ app.withFormatter(Locale.FRANCE) { Formatter f ->
+ f.format(" e = %+10.4f", Math.E)
}
assert store.join('') == 'hello [a:1, b:2] 2001 e = +2,7183'
}