This commit is contained in:
Looly
2025-07-24 16:26:35 +08:00
parent a09da9fd3d
commit b5ccc1a7c9

View File

@@ -0,0 +1,13 @@
package cn.hutool.core.util;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class IssueICOJVZTest {
@Test
void toUnderlineTest(){
String field = "PAGE_NAME";
field = StrUtil.toUnderlineCase(field).toUpperCase();
Assertions.assertEquals("PAGE_NAME", field);
}
}