add method and test

This commit is contained in:
Looly
2020-05-12 00:37:42 +08:00
parent fa936f4742
commit 0a9b9a6fce
4 changed files with 42 additions and 0 deletions

View File

@@ -346,6 +346,9 @@ public class StrUtilTest {
String str1 = "TableTestOfDay";
String result1 = StrUtil.toCamelCase(str1);
Assert.assertEquals("TableTestOfDay", result1);
String abc1d = StrUtil.toCamelCase("abc_1d");
Assert.assertEquals("abc1d", abc1d);
}
@Test