diff --git a/src/test/java/org/apache/commons/csv/CSVFormatBuilderTest.java b/src/test/java/org/apache/commons/csv/CSVFormatBuilderTest.java index 7106b66a..6d57b834 100644 --- a/src/test/java/org/apache/commons/csv/CSVFormatBuilderTest.java +++ b/src/test/java/org/apache/commons/csv/CSVFormatBuilderTest.java @@ -162,6 +162,17 @@ public class CSVFormatBuilderTest { assertEquals(RFC4180, copyOfRCF4180); } + @Test + public void testRFC4180() { + assertEquals(null, RFC4180.getCommentStart()); + assertEquals(',', RFC4180.getDelimiter()); + assertEquals(null, RFC4180.getEscape()); + assertEquals(false, RFC4180.getIgnoreEmptyLines()); + assertEquals(Character.valueOf('"'), RFC4180.getQuoteChar()); + assertEquals(null, RFC4180.getQuotePolicy()); + assertEquals("\r\n", RFC4180.getRecordSeparator()); + } + @Test public void testCopiedFormatWithChanges() { final CSVFormat newFormat = CSVFormat.newBuilder(RFC4180).withDelimiter('!').build();