Skip to content

Commit 46c8434

Browse files
committed
Document change to test behaviour
1 parent 605bc01 commit 46c8434

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ public void testHashCodeAndWithIgnoreHeaderCase() {
520520
assertTrue(cSVFormatTwo.getIgnoreHeaderCase());
521521
assertFalse(cSVFormatTwo.getTrailingDelimiter());
522522

523-
assertTrue(cSVFormatTwo.equals(cSVFormat));
523+
assertTrue(cSVFormatTwo.equals(cSVFormat)); // TODO this fails since CSV-242 was applied. Why should they compare equal?
524524
assertFalse(cSVFormatTwo.getAllowMissingColumnNames());
525525

526526
assertFalse(cSVFormatTwo.getTrim());
@@ -969,7 +969,7 @@ public void testWithHeaderComments() {
969969
assertNotSame(cSVFormat, cSVFormatTwo);
970970
assertNotSame(cSVFormatTwo, cSVFormat);
971971

972-
assertTrue(cSVFormatTwo.equals(cSVFormat));
972+
assertTrue(cSVFormatTwo.equals(cSVFormat)); // TODO this fails since CSV-242 was applied. Why should the formats compare equal?
973973

974974
final String string = cSVFormatTwo.format(objectArray);
975975

0 commit comments

Comments
 (0)