Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
The CSVFormat#equals() method was recently updated to take account of additions to the class state. This caused two test failures:
[ERROR] CSVFormatTest.testHashCodeAndWithIgnoreHeaderCase:523
[ERROR] CSVFormatTest.testWithHeaderComments:972
These both assert equality of a format with another derived from it.
The formats should only be equal if they have the same behaviour.
This will no longer be the case if the derived format has a different setting.
The checks need to be changed to assert inequality.