Skip to content

Commit 383c498

Browse files
author
Vladimir Kotal
committed
switch expected/actual
1 parent aab4c07 commit 383c498

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ void testAddTags() {
7272
History history = new History();
7373
HistoryEntry historyEntry = entries.get(0);
7474
history.addTags(historyEntry, "foo");
75-
assertEquals(history.getTags().get(historyEntry.getRevision()), "foo");
75+
assertEquals("foo", history.getTags().get(historyEntry.getRevision()));
7676
history.addTags(historyEntry, "bar");
77-
assertEquals(history.getTags().get(historyEntry.getRevision()), "foo" + History.TAGS_SEPARATOR + "bar");
77+
assertEquals("foo" + History.TAGS_SEPARATOR + "bar", history.getTags().get(historyEntry.getRevision()));
7878
}
7979

8080
@Test

0 commit comments

Comments
 (0)