additional tests for normalizeSpace()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1057386 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9736947c80
commit
8d24c1fc62
|
@ -1909,7 +1909,13 @@ public class StringUtilsTest extends TestCase {
|
|||
assertEquals("", StringUtils.normalizeSpace(" "));
|
||||
assertEquals("", StringUtils.normalizeSpace("\t"));
|
||||
assertEquals("", StringUtils.normalizeSpace("\n"));
|
||||
assertEquals("", StringUtils.normalizeSpace("\u0009"));
|
||||
assertEquals("", StringUtils.normalizeSpace("\u000B"));
|
||||
assertEquals("", StringUtils.normalizeSpace("\u000C"));
|
||||
assertEquals("", StringUtils.normalizeSpace("\u001C"));
|
||||
assertEquals("", StringUtils.normalizeSpace("\u001D"));
|
||||
assertEquals("", StringUtils.normalizeSpace("\u001E"));
|
||||
assertEquals("", StringUtils.normalizeSpace("\u001F"));
|
||||
assertEquals("", StringUtils.normalizeSpace("\f"));
|
||||
assertEquals("", StringUtils.normalizeSpace("\r"));
|
||||
assertEquals("a", StringUtils.normalizeSpace(" a "));
|
||||
|
|
Loading…
Reference in New Issue