Skip to content

Commit

Permalink
test: add t.Logf to log now and comment in TestSequentialCommentSelec…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
revelaction committed Oct 27, 2024
1 parent 025003f commit fec88d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ical/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,7 @@ END:VCALENDAR
}

notification := notifications[0]
t.Logf("Iteration %d: now=%s, comment=%s", i, now.Format(time.RFC3339), notification.Comment)
if notification.Comment != expectedComments[i%3] {
t.Errorf("Iteration %d: Expected comment '%s', got '%s'", i, expectedComments[i%3], notification.Comment)
}
Expand Down

0 comments on commit fec88d0

Please sign in to comment.