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 7ce34dd Refactor test. 7ce34dd is described below commit 7ce34ddb3ef0ecd120a7133e710462cf618972ae Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Jul 11 10:57:08 2020 -0400 Refactor test. --- .../java/org/apache/commons/text/StringSubstitutorTest.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/text/StringSubstitutorTest.java b/src/test/java/org/apache/commons/text/StringSubstitutorTest.java index bbf7530..337ae65 100644 --- a/src/test/java/org/apache/commons/text/StringSubstitutorTest.java +++ b/src/test/java/org/apache/commons/text/StringSubstitutorTest.java @@ -923,13 +923,20 @@ public class StringSubstitutorTest { */ @Test @Disabled - public void testReplaceWeirdPattensJiraText178() throws IOException { + public void testReplaceWeirdPattensNo_JiraText178() throws IOException { doNotReplace("$${"); doNotReplace("$${a"); doNotReplace("$$${"); doNotReplace("$$${a"); doNotReplace("$${${a"); - // + } + + /** + * Tests interpolation with weird boundary patterns. + */ + @Test + @Disabled + public void testReplaceWeirdPattens_Partial_JiraText178() throws IOException { doReplace("$${1", "$${${a}", false); }