Adding my LANG-623 unit test. It showed there was no issue, but might as well keep it there in case it's reopened
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@956788 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bef3eb6ed0
commit
e0020ed3d6
|
@ -945,6 +945,11 @@ public class StringUtilsTest extends TestCase {
|
|||
assertEquals("test", StringUtils.deleteWhitespace("\u000Bt \t\n\u0009e\rs\n\n \tt"));
|
||||
}
|
||||
|
||||
public void testLang623() {
|
||||
assertEquals("t", StringUtils.replaceChars("\u00DE", '\u00DE', 't'));
|
||||
assertEquals("t", StringUtils.replaceChars("\u00FE", '\u00FE', 't'));
|
||||
}
|
||||
|
||||
public void testReplace_StringStringString() {
|
||||
assertEquals(null, StringUtils.replace(null, null, null));
|
||||
assertEquals(null, StringUtils.replace(null, null, "any"));
|
||||
|
|
Loading…
Reference in New Issue