Add test for non-blank length 1 strings

This commit is contained in:
Gary Gregory 2024-07-13 09:24:38 -04:00
parent 8b8c8b3703
commit b1f41de44d
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ public class StringUtilsIsTest extends AbstractLangTest {
assertFalse(StringUtils.isWhitespace("a "));
assertFalse(StringUtils.isWhitespace(" a"));
assertFalse(StringUtils.isWhitespace("aba"));
assertFalse(StringUtils.isWhitespace("a"));
assertTrue(StringUtils.isWhitespace(StringUtilsTest.WHITESPACE));
assertFalse(StringUtils.isWhitespace(StringUtilsTest.NON_WHITESPACE));
}