Sebb created CSV-244:
------------------------

             Summary: Test case failures following CSVFormat#equals() update
                 Key: CSV-244
                 URL: https://issues.apache.org/jira/browse/CSV-244
             Project: Commons CSV
          Issue Type: Bug
            Reporter: Sebb


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to