We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aab4c07 commit 383c498Copy full SHA for 383c498
opengrok-indexer/src/test/java/org/opengrok/indexer/history/HistoryTest.java
@@ -72,9 +72,9 @@ void testAddTags() {
72
History history = new History();
73
HistoryEntry historyEntry = entries.get(0);
74
history.addTags(historyEntry, "foo");
75
- assertEquals(history.getTags().get(historyEntry.getRevision()), "foo");
+ assertEquals("foo", history.getTags().get(historyEntry.getRevision()));
76
history.addTags(historyEntry, "bar");
77
- assertEquals(history.getTags().get(historyEntry.getRevision()), "foo" + History.TAGS_SEPARATOR + "bar");
+ assertEquals("foo" + History.TAGS_SEPARATOR + "bar", history.getTags().get(historyEntry.getRevision()));
78
}
79
80
@Test
0 commit comments