mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add null edit
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package cn.hutool.core.util;
|
||||
|
||||
import cn.hutool.core.lang.Console;
|
||||
import cn.hutool.core.lang.Dict;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
@@ -433,6 +434,14 @@ public class StrUtilTest {
|
||||
Assert.assertEquals(0, results2.length);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void subBetweenAllTest3() {
|
||||
String src1 = "'abc'and'123'";
|
||||
|
||||
final String[] strings = StrUtil.subBetweenAll(src1, "'", "'");
|
||||
Console.log(strings);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void briefTest() {
|
||||
String str = RandomUtil.randomString(1000);
|
||||
|
Reference in New Issue
Block a user