mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
StrUtil.isBlank
增加\u200c
判断(issue#3903@Github)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
package cn.hutool.core.util;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
public class CharUtilTest {
|
||||
|
||||
@Test
|
||||
@@ -43,6 +44,9 @@ public class CharUtilTest {
|
||||
|
||||
final char a5 = ' ';
|
||||
assertTrue(CharUtil.isBlankChar(a5));
|
||||
|
||||
final char a6 = '\u200c';
|
||||
assertTrue(CharUtil.isBlankChar(a6));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user