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 f00b91b58937104bf1b17799f9660d26ffdff65f Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Jan 28 12:19:41 2023 -0500 Add assert as sanity check --- src/test/java/org/apache/commons/csv/issues/JiraCsv149Test.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/org/apache/commons/csv/issues/JiraCsv149Test.java b/src/test/java/org/apache/commons/csv/issues/JiraCsv149Test.java index a42cb2a3..70f8c5ea 100644 --- a/src/test/java/org/apache/commons/csv/issues/JiraCsv149Test.java +++ b/src/test/java/org/apache/commons/csv/issues/JiraCsv149Test.java @@ -17,6 +17,7 @@ package org.apache.commons.csv.issues; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; import java.io.IOException; import java.io.StringReader; @@ -51,6 +52,7 @@ public class JiraCsv149Test { int lineCounter = 2; try (final CSVParser parser = new CSVParser(records, format)) { for (final CSVRecord record : parser) { + assertNotNull(record); assertEquals(lineCounter++, parser.getCurrentLineNumber()); } }