mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修正一个测试用例
This commit is contained in:
@@ -89,9 +89,9 @@ public class StrUtilTest {
|
||||
Assert.assertEquals("", split.get(2));
|
||||
}
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
@Test
|
||||
public void splitNullTest() {
|
||||
StrUtil.split(null, '.');
|
||||
Assert.assertEquals(0, StrUtil.split(null, '.').size());
|
||||
}
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
|
Reference in New Issue
Block a user