aboutsummaryrefslogtreecommitdiff
path: root/tests/test-chime-days-until-event.el
Commit message (Collapse)AuthorAgeFilesLines
* test: add failing tests for the days-until-event nil crashCraig Jennings2 days1-0/+131
The tests cover a lone all-day timestamp, the soonest of several, an event mixing timed and all-day timestamps, an event with no all-day timestamp, and an empty timestamp list. A sixth covers the notification text when the day count comes back nil. I built the timestamps against the real current time, not testutil-time's base, which sits 30 days ahead. chime--days-until-event measures against current-time, so the shared helper would have made every expected day count wrong.