Skip to content

Commit 9c50c7b

Browse files
committed
Aligning error messages to be align with master branch
1 parent 156f1f5 commit 9c50c7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,8 +1661,8 @@ public void testFaultyCSVShouldThrowErrorWithDetailedMessage() {
16611661
+ " " + record.get(8) + " " + record.get(9));
16621662
}
16631663
});
1664-
String expectedErrorMessage = "IOException reading next record: java.io.IOException: An error occurred while " +
1665-
"tying to parse the CSV content. Error in line: 2, position: 94, last parsed content: " +
1664+
String expectedErrorMessage = "Exception reading next record: java.io.IOException: An exception occurred " +
1665+
"while tying to parse the CSV content. Issue in line: 2, position: 94, last parsed content: " +
16661666
"...rec4,rec5,rec6,rec7,rec8";
16671667
String actualMessage = exception.getMessage();
16681668

0 commit comments

Comments
 (0)