Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

Commit f62fd13

Browse files
author
Gary Gregory
committed
[CSV-236] Allow duplicate headers in CSV File.
Add test.
1 parent c203896 commit f62fd13

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/test/java/org/apache/commons/csv/CSVFormatTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,11 @@ public void testHashCodeAndWithIgnoreHeaderCase() {
585585

586586
}
587587

588+
@Test
589+
public void testJiraCsv236() {
590+
CSVFormat.DEFAULT.withAllowDuplicateHeaderNames().withHeader("CC","VV","VV");
591+
}
592+
588593
@Test
589594
public void testNewFormat() {
590595

0 commit comments

Comments
 (0)