mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -47,4 +47,13 @@ public class NamingCaseTest {
|
||||
// https://gitee.com/dromara/hutool/issues/I5TVMU
|
||||
Assertions.assertEquals("t1C1", NamingCase.toUnderlineCase("t1C1"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void issue3031Test() {
|
||||
String camelCase = NamingCase.toCamelCase("user_name,BIRTHDAY");
|
||||
Assertions.assertEquals("userName,birthday", camelCase);
|
||||
|
||||
camelCase = NamingCase.toCamelCase("user_name,BIRTHDAY", '_', false);
|
||||
Assertions.assertEquals("userName,BIRTHDAY", camelCase);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user