Skip to content

Commit 375cefc

Browse files
committed
Add missing @test annotations
1 parent 2fff399 commit 375cefc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,13 @@ public void testDuplicateHeaderElementsFalse_Deprecated() {
140140
assertThrows(IllegalArgumentException.class, () -> CSVFormat.DEFAULT.withAllowDuplicateHeaderNames(false).withHeader("A", "A"));
141141
}
142142

143+
@Test
143144
public void testDuplicateHeaderElementsTrue() {
144145
CSVFormat.DEFAULT.builder().setAllowDuplicateHeaderNames(true).setHeader("A", "A").build();
145146
}
146147

147148
@SuppressWarnings("deprecation")
149+
@Test
148150
public void testDuplicateHeaderElementsTrue_Deprecated() {
149151
CSVFormat.DEFAULT.withAllowDuplicateHeaderNames(true).withHeader("A", "A");
150152
}

0 commit comments

Comments
 (0)