mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-04 04:37:59 +08:00
add test
This commit is contained in:
parent
efeddc1469
commit
06db212f24
@ -12,4 +12,10 @@ public class NamingCaseTest {
|
|||||||
.set("customerNickV2", "customer_nick_v2")
|
.set("customerNickV2", "customer_nick_v2")
|
||||||
.forEach((key, value) -> Assert.assertEquals(value, NamingCase.toUnderlineCase(key)));
|
.forEach((key, value) -> Assert.assertEquals(value, NamingCase.toUnderlineCase(key)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void toUnderLineCaseTest2(){
|
||||||
|
final String wPRunOZTime = NamingCase.toUnderlineCase("wPRunOZTime");
|
||||||
|
Assert.assertEquals("w_P_run_OZ_time", wPRunOZTime);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user