Add tests for leading signs

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1381826 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-09-07 00:43:01 +00:00
parent e2c6ef476d
commit dbbbb4230f
1 changed files with 2 additions and 0 deletions

View File

@ -142,6 +142,8 @@ public class StringUtilsIsTest extends TestCase {
assertEquals(false, StringUtils.isNumeric("hkHKHik6iUGHKJgU7tUJgKJGI87GIkug"));
assertEquals(false, StringUtils.isNumeric("_"));
assertEquals(false, StringUtils.isNumeric("hkHKHik*khbkuh"));
assertEquals(false, StringUtils.isNumeric("+123"));
assertEquals(false, StringUtils.isNumeric("-123"));
}
public void testIsNumericSpace() {