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

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

commit 37bf2a7a7c5778dfc02c88d28d509b377a475430
Author: Eric Milles <[email protected]>
AuthorDate: Sat Jan 29 14:53:41 2022 -0600

    fix test case
---
 src/test/groovy/transform/stc/CoercionSTCTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/groovy/transform/stc/CoercionSTCTest.groovy 
b/src/test/groovy/transform/stc/CoercionSTCTest.groovy
index 51b2549..a8fef77 100644
--- a/src/test/groovy/transform/stc/CoercionSTCTest.groovy
+++ b/src/test/groovy/transform/stc/CoercionSTCTest.groovy
@@ -117,7 +117,7 @@ class CoercionSTCTest extends StaticTypeCheckingTestCase {
         '''
         assertScript '''
             String s = [:]
-            assert s == '{}'
+            assert s == '{}' || s == '[:]'
         '''
         assertScript '''
             String s = []

Reply via email to