You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by em...@apache.org on 2022/01/29 21:14:20 UTC
[groovy] 01/02: fix test case
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 <er...@thomsonreuters.com>
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 = []