mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix bug
This commit is contained in:
@@ -16,6 +16,15 @@ import java.util.List;
|
||||
|
||||
public class ListUtilTest {
|
||||
|
||||
@Test
|
||||
public void splitTest(){
|
||||
List<String> listAll = new ArrayList<>();
|
||||
listAll.add("1");
|
||||
listAll.add("2");
|
||||
List<List<String>> lists = ListUtil.split(listAll, 10);
|
||||
Assert.assertEquals(1, lists.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void splitBenchTest() {
|
||||
|
Reference in New Issue
Block a user