This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-csv.git
commit f62fd132d0e83715364edab4de3d6308d8626a0d Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Wed Sep 4 09:54:49 2019 -0400 [CSV-236] Allow duplicate headers in CSV File. Add test. --- src/test/java/org/apache/commons/csv/CSVFormatTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java b/src/test/java/org/apache/commons/csv/CSVFormatTest.java index b683a04..865572e 100644 --- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java +++ b/src/test/java/org/apache/commons/csv/CSVFormatTest.java @@ -586,6 +586,11 @@ public class CSVFormatTest { } @Test + public void testJiraCsv236() { + CSVFormat.DEFAULT.withAllowDuplicateHeaderNames().withHeader("CC","VV","VV"); + } + + @Test public void testNewFormat() { final CSVFormat csvFormat = CSVFormat.newFormat('X');