mirror of
https://gitee.com/dromara/hutool.git
synced 2025-06-28 04:35:14 +08:00
add test
This commit is contained in:
parent
a34637f071
commit
7f3be3038a
@ -0,0 +1,15 @@
|
||||
package cn.hutool.core.util;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class IssueICA9S5Test {
|
||||
@Test
|
||||
public void test() {
|
||||
String a = "ENUM{\\ndisable ~ 0\\nenable ~ 1\\n}";
|
||||
final List<String> split = StrUtil.split(a, "\\n");
|
||||
Assertions.assertEquals(4, split.size());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user