@@ -30,7 +30,7 @@ public class CSVFormatTest {
3030
3131 @ Test
3232 public void testImmutalibity () {
33- CSVFormat format = new CSVFormat ('!' , '!' , '!' , '!' , true , true , " \r \n " , null );
33+ CSVFormat format = new CSVFormat ('!' , '!' , '!' , '!' , true , true , CSVFormat . CRLF , null );
3434
3535 format .withDelimiter ('?' );
3636 format .withEncapsulator ('?' );
@@ -44,15 +44,15 @@ public void testImmutalibity() {
4444 assertEquals ('!' , format .getEncapsulator ());
4545 assertEquals ('!' , format .getCommentStart ());
4646 assertEquals ('!' , format .getEscape ());
47- assertEquals (" \r \n " , format .getLineSeparator ());
47+ assertEquals (CSVFormat . CRLF , format .getLineSeparator ());
4848
4949 assertTrue (format .isSurroundingSpacesIgnored ());
5050 assertTrue (format .isEmptyLinesIgnored ());
5151 }
5252
5353 @ Test
5454 public void testMutators () {
55- CSVFormat format = new CSVFormat ('!' , '!' , '!' , '!' , true , true , " \r \n " , null );
55+ CSVFormat format = new CSVFormat ('!' , '!' , '!' , '!' , true , true , CSVFormat . CRLF , null );
5656
5757 assertEquals ('?' , format .withDelimiter ('?' ).getDelimiter ());
5858 assertEquals ('?' , format .withEncapsulator ('?' ).getEncapsulator ());
0 commit comments