This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-text.git
The following commit(s) were added to refs/heads/master by this push: new ea94081 More tests. ea94081 is described below commit ea940819905d3897a23153d4bf01f36b8c28d222 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Jul 1 12:10:40 2020 -0400 More tests. --- src/test/java/org/apache/commons/text/StringSubstitutorTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/apache/commons/text/StringSubstitutorTest.java b/src/test/java/org/apache/commons/text/StringSubstitutorTest.java index d75ed32..2224259 100644 --- a/src/test/java/org/apache/commons/text/StringSubstitutorTest.java +++ b/src/test/java/org/apache/commons/text/StringSubstitutorTest.java @@ -484,6 +484,7 @@ public class StringSubstitutorTest { values.put("species.brown", "2"); final StringSubstitutor sub = new StringSubstitutor(values); sub.setEnableSubstitutionInVariables(true); + assertEquals("white mouse", replace(sub, "${animal.${species.${color}}}")); assertEquals("The white mouse jumps over the lazy dog.", replace(sub, "The ${animal.${species.${color}}} jumps over the ${target}.")); assertEquals("The brown fox jumps over the lazy dog.",