Add a test for stripEnd
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1043652 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5ad967885a
commit
7e818c5afa
|
@ -1916,4 +1916,9 @@ public class StringUtilsTest extends TestCase {
|
|||
assertEquals("a b c", StringUtils.normalizeSpace(" a b c "));
|
||||
assertEquals("a b c", StringUtils.normalizeSpace("a\t\f\r b\u000B c\n"));
|
||||
}
|
||||
|
||||
public void testLANG666() {
|
||||
assertEquals("12",StringUtils.stripEnd("120.00", ".00"));
|
||||
assertEquals("121",StringUtils.stripEnd("121.00", ".00"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue