mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
修复ReUtil.delAll方法当 content 仅为空格时的问题
This commit is contained in:
@@ -210,4 +210,9 @@ public class ReUtilTest {
|
||||
final String s = ReUtil.replaceAll("1.2.3.4", patternIp, "$1.**.**.$10");
|
||||
Assert.assertEquals("1.**.**.4", s);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void issueI6GIMTTest(){
|
||||
Assert.assertEquals(StrUtil.EMPTY, ReUtil.delAll("[\\s]*", " "));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user