mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add test
This commit is contained in:
15
hutool-core/src/test/java/cn/hutool/core/text/SplitUtilTest.java
Executable file
15
hutool-core/src/test/java/cn/hutool/core/text/SplitUtilTest.java
Executable file
@@ -0,0 +1,15 @@
|
||||
package cn.hutool.core.text;
|
||||
|
||||
import cn.hutool.core.text.split.SplitUtil;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
public class SplitUtilTest {
|
||||
|
||||
@Test
|
||||
public void issueI6FKSITest(){
|
||||
// issue:I6FKSI
|
||||
Assert.assertThrows(IllegalArgumentException.class, () -> SplitUtil.splitByLength("test length 0", 0));
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user