Skip to content

Commit

Permalink
Fixed missing first calls
Browse files Browse the repository at this point in the history
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me>
  • Loading branch information
ArnyminerZ committed Aug 14, 2024
1 parent 1d9c510 commit 6f6ce3a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class EventTest {
assertTrue(DateUtils.isDate(event.dtStart))

assertEquals(1, event.exceptions.size)
val exception = event.exceptions.first
val (exception) = event.exceptions
assertEquals("20150503", exception.recurrenceId!!.value)
assertEquals("Another summary for the third day", exception.summary)
}
Expand All @@ -172,7 +172,7 @@ class EventTest {
val event = parseCalendar("recurring-only-exception.ics").first()

assertEquals(1, event.exceptions.size)
val exception = event.exceptions.first
val (exception) = event.exceptions
assertEquals("20150503T010203Z", exception.recurrenceId!!.value)
assertEquals("This is an exception", exception.summary)

Expand Down

0 comments on commit 6f6ce3a

Please sign in to comment.