From f62fd132d0e83715364edab4de3d6308d8626a0d Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Wed, 4 Sep 2019 09:54:49 -0400 Subject: [PATCH] [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 b683a040..865572ee 100644 --- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java +++ b/src/test/java/org/apache/commons/csv/CSVFormatTest.java @@ -585,6 +585,11 @@ public class CSVFormatTest { } + @Test + public void testJiraCsv236() { + CSVFormat.DEFAULT.withAllowDuplicateHeaderNames().withHeader("CC","VV","VV"); + } + @Test public void testNewFormat() {