You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/12/23 03:47:20 UTC
[commons-text] branch master updated: Remove trailing whitespace.
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 c804b49 Remove trailing whitespace.
c804b49 is described below
commit c804b4977838c0f9a989a37ec185f3f32e01c649
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Dec 22 22:47:16 2019 -0500
Remove trailing whitespace.
---
src/test/java/org/apache/commons/text/StringSubstitutorTest.java | 4 ++--
1 file changed, 2 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 4460e8b..83141d9 100644
--- a/src/test/java/org/apache/commons/text/StringSubstitutorTest.java
+++ b/src/test/java/org/apache/commons/text/StringSubstitutorTest.java
@@ -154,7 +154,7 @@ public class StringSubstitutorTest {
protected String replace(StringSubstitutor stringSubstitutor, final String source) {
return stringSubstitutor.replace(source);
}
-
+
@BeforeEach
public void setUp() throws Exception {
values = new HashMap<>();
@@ -391,7 +391,7 @@ public class StringSubstitutorTest {
values.put("species", "1");
assertEquals("The fox jumps over the lazy dog.",
replace(sub, "The ${animal.${species}} jumps over the ${target}."));
- assertEquals("The fox jumps over the lazy dog.", replace(sub,
+ assertEquals("The fox jumps over the lazy dog.", replace(sub,
"The ${unknown.animal.${unknown.species:-1}:-fox} " + "jumps over the ${unknow.target:-lazy dog}."));
}