Skip to content

Commit

Permalink
test: fix incorrect condition in DTSTART property test
Browse files Browse the repository at this point in the history
  • Loading branch information
revelaction committed Sep 13, 2024
1 parent c24136e commit 6a7ef73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ical/alarm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ END:VEVENT`

// Verify that the event does not have a DTSTART property
dtStartProp := event.GetProperty(ics.ComponentPropertyDtStart)
if dtStartProp != nil {
if dtStartProp == nil {
t.Errorf("Expected event to have no DTSTART property, but got %#v", dtStartProp)
}

Expand Down

0 comments on commit 6a7ef73

Please sign in to comment.