Refactor test.
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 @@
*/
@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);
}