You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2020/07/23 04:30:43 UTC

[groovy] branch GROOVY-9637 updated: Add one more test

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

sunlan pushed a commit to branch GROOVY-9637
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY-9637 by this push:
     new 3c23fba  Add one more test
3c23fba is described below

commit 3c23fbaba8edabcfecf055b1de28cfd6fd8456bc
Author: Daniel Sun <su...@apache.org>
AuthorDate: Thu Jul 23 12:29:08 2020 +0800

    Add one more test
---
 src/test/groovy/GStringTest.groovy | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/test/groovy/GStringTest.groovy b/src/test/groovy/GStringTest.groovy
index cfd745e..9812f67 100644
--- a/src/test/groovy/GStringTest.groovy
+++ b/src/test/groovy/GStringTest.groovy
@@ -626,6 +626,9 @@ class GStringTest extends GroovyTestCase {
 
         def gstr9 = "a${(short) 1}"
         assert gstr9.toString() === gstr9.toString()
+
+        def gstr10 = "a${Map.class}"
+        assert gstr10.toString() === gstr10.toString()
     }
 
     void testImmutableStringsAndValues() {