diff --git a/src/test/java/org/apache/commons/lang3/StringUtilsIsTest.java b/src/test/java/org/apache/commons/lang3/StringUtilsIsTest.java index e4e11a7c0..9848d845e 100644 --- a/src/test/java/org/apache/commons/lang3/StringUtilsIsTest.java +++ b/src/test/java/org/apache/commons/lang3/StringUtilsIsTest.java @@ -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() {