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:
@@ -19,6 +19,8 @@ package org.dromara.hutool.core.text;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
public class CharUtilTest {
|
||||
|
||||
@Test
|
||||
@@ -56,7 +58,10 @@ public class CharUtilTest {
|
||||
Assertions.assertTrue(CharUtil.isBlankChar(a3));
|
||||
|
||||
final char a4 = '\u0000';
|
||||
Assertions.assertTrue(CharUtil.isBlankChar(a4));
|
||||
assertTrue(CharUtil.isBlankChar(a4));
|
||||
|
||||
final char a6 = '\u200c';
|
||||
assertTrue(CharUtil.isBlankChar(a6));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user