Skip to content

Commit

Permalink
Swap arguments in assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
mangstadt committed Nov 4, 2023
1 parent e14c6a1 commit 2e80b18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/test/java/biweekly/util/ICalDateFormatTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ public void dateHasTimezone() {
@Test
public void parseTimezoneId() {
TimeZone tz = ICalDateFormat.parseTimeZoneId("America/New_York");
assertEquals(tz.getID(), "America/New_York");
assertEquals("America/New_York", tz.getID());

tz = ICalDateFormat.parseTimeZoneId("GMT");
assertEquals(tz.getID(), "GMT");
assertEquals("GMT", tz.getID());

tz = ICalDateFormat.parseTimeZoneId("Bogus/Timezone");
assertNull(tz);
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/biweekly/util/ListMultimapTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -665,8 +665,8 @@ public void WrappedList_equals() {
map.put("foo", "1");

assertEqualsMethodEssentials(list);
assertEquals(list, Arrays.asList("1"));
assertNotEquals(list, Arrays.asList("2"));
assertEquals(Arrays.asList("1"), list);
assertNotEquals(Arrays.asList("2"), list);
}

@Test
Expand Down

0 comments on commit 2e80b18

Please sign in to comment.