mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
修复RegexPool.CHINESE_NAME范围太大的问题
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package cn.hutool.core.lang;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class IssueIAOGDRTest {
|
||||
@Test
|
||||
void isChineseNameTest() {
|
||||
Assertions.assertFalse(Validator.isChineseName("张三。"));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user