BAEL-4702 Refactoring

This commit is contained in:
unknown 2021-03-24 17:24:52 +05:30
parent d954c180e5
commit 4bb429ef5b
1 changed files with 0 additions and 3 deletions

View File

@ -4,7 +4,6 @@ import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class SplitStringByNewLineUnitTest {
@Test
public void givenString_whenSplitByNewLineUsingSystemLineSeparator_thenReturnsArray() {
assertThat("Line1\r\nLine2\r\nLine3".split(System.lineSeparator())).containsExactly("Line1", "Line2", "Line3");
@ -27,6 +26,4 @@ public class SplitStringByNewLineUnitTest {
assertThat("Line1\r\nLine2\r\nLine3".split("\\R")).containsExactly("Line1", "Line2", "Line3");
}
}