removing unwanted assert

This commit is contained in:
gbidsilva 2023-08-31 19:46:16 +05:30
parent 76ee73d7e4
commit 2f44a6b399
1 changed files with 0 additions and 2 deletions

View File

@ -1667,7 +1667,6 @@ public class CSVParserTest {
"line: 2, position: 94"; "line: 2, position: 94";
String actualMessage = exception.getMessage(); String actualMessage = exception.getMessage();
assertTrue(actualMessage.contains(expectedErrorMessage)); assertTrue(actualMessage.contains(expectedErrorMessage));
assertNotNull(csvParser);
String expectedLastParsedContent = "...rec4,rec5,rec6,rec7,rec8"; String expectedLastParsedContent = "...rec4,rec5,rec6,rec7,rec8";
assertEquals(expectedLastParsedContent, csvParser.getLastParsedContent()); assertEquals(expectedLastParsedContent, csvParser.getLastParsedContent());
} }
@ -1695,7 +1694,6 @@ public class CSVParserTest {
"line: 2, position: 63"; "line: 2, position: 63";
String actualMessage = exception.getMessage(); String actualMessage = exception.getMessage();
assertTrue(actualMessage.contains(expectedErrorMessage)); assertTrue(actualMessage.contains(expectedErrorMessage));
assertNotNull(csvParser);
String expectedLastParsedContent = "rec1,rec2,rec3,rec4"; String expectedLastParsedContent = "rec1,rec2,rec3,rec4";
assertEquals(expectedLastParsedContent, csvParser.getLastParsedContent()); assertEquals(expectedLastParsedContent, csvParser.getLastParsedContent());
} }