This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-csv.git
The following commit(s) were added to refs/heads/master by this push: new 375cefcf Add missing @Test annotations 375cefcf is described below commit 375cefcfe0c080e7fc6714db1a54e3f9eddc23c2 Author: Alex Herbert <aherb...@apache.org> AuthorDate: Fri Oct 21 16:51:54 2022 +0100 Add missing @Test annotations --- src/test/java/org/apache/commons/csv/CSVFormatTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java b/src/test/java/org/apache/commons/csv/CSVFormatTest.java index 77849003..31f387f1 100644 --- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java +++ b/src/test/java/org/apache/commons/csv/CSVFormatTest.java @@ -140,11 +140,13 @@ public class CSVFormatTest { assertThrows(IllegalArgumentException.class, () -> CSVFormat.DEFAULT.withAllowDuplicateHeaderNames(false).withHeader("A", "A")); } + @Test public void testDuplicateHeaderElementsTrue() { CSVFormat.DEFAULT.builder().setAllowDuplicateHeaderNames(true).setHeader("A", "A").build(); } @SuppressWarnings("deprecation") + @Test public void testDuplicateHeaderElementsTrue_Deprecated() { CSVFormat.DEFAULT.withAllowDuplicateHeaderNames(true).withHeader("A", "A"); }