diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-09 16:08:09 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-09 16:08:09 -0500 |
| commit | ad21a480cb4b833fba94339e8b9e13401e7c8873 (patch) | |
| tree | e9ea6af6d98953997fd4bf44afb6dea17e0c5d4a /tests/test-chime-time-left.el | |
| parent | b24f7aee3116f0daa106e76c7ebb42716347136b (diff) | |
| download | chime-ad21a480cb4b833fba94339e8b9e13401e7c8873.tar.gz chime-ad21a480cb4b833fba94339e8b9e13401e7c8873.zip | |
test: add failing tests for the days-until-event nil crash
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.
Diffstat (limited to 'tests/test-chime-time-left.el')
0 files changed, 0 insertions, 0 deletions
