Skip to content

Commit 492158b

Browse files
author
Vladimir Kotal
committed
do not test toString()
1 parent 34af107 commit 492158b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/history/HistoryTest.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,4 @@ public void testEquals() {
5757
assertEquals(1, historySmaller.getHistoryEntries().size());
5858
assertNotEquals(history, historySmaller);
5959
}
60-
61-
@Test
62-
public void testToString() {
63-
History history = new History(entries);
64-
String expectedString = "[84599b3c Thu Jan 26 14:51:47 CET 2017 Kryštof Tulinger <[email protected]> renaming directories\n" +
65-
", 67dfbe26 Tue Jan 24 14:09:57 CET 2017 Kryštof Tulinger <[email protected]> renaming renamed -> renamed2\n" +
66-
"], renamed files: []";
67-
assertEquals(expectedString, history.toString());
68-
}
6960
}

0 commit comments

Comments
 (0)