From 2f44a6b399edf1d243b340180538a7f657a2a078 Mon Sep 17 00:00:00 2001 From: gbidsilva Date: Thu, 31 Aug 2023 19:46:16 +0530 Subject: [PATCH] removing unwanted assert --- src/test/java/org/apache/commons/csv/CSVParserTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java index ee2f41bb..d31b8df4 100644 --- a/src/test/java/org/apache/commons/csv/CSVParserTest.java +++ b/src/test/java/org/apache/commons/csv/CSVParserTest.java @@ -1667,7 +1667,6 @@ public class CSVParserTest { "line: 2, position: 94"; String actualMessage = exception.getMessage(); assertTrue(actualMessage.contains(expectedErrorMessage)); - assertNotNull(csvParser); String expectedLastParsedContent = "...rec4,rec5,rec6,rec7,rec8"; assertEquals(expectedLastParsedContent, csvParser.getLastParsedContent()); } @@ -1695,7 +1694,6 @@ public class CSVParserTest { "line: 2, position: 63"; String actualMessage = exception.getMessage(); assertTrue(actualMessage.contains(expectedErrorMessage)); - assertNotNull(csvParser); String expectedLastParsedContent = "rec1,rec2,rec3,rec4"; assertEquals(expectedLastParsedContent, csvParser.getLastParsedContent()); }