summaryrefslogtreecommitdiff
path: root/tests/test-calendar-sync--expand-weekly.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-12-02 07:55:21 -0600
committerCraig Jennings <c@cjennings.net>2025-12-02 07:55:21 -0600
commit97dea528c2b49642fe513807b86f9d378676a9e6 (patch)
treea279e736b47f03d46768200384f2463b687532bb /tests/test-calendar-sync--expand-weekly.el
parent8a5f7f44a239a4853f334659550dc1ed96faa93b (diff)
downloaddotemacs-97dea528c2b49642fe513807b86f9d378676a9e6.tar.gz
dotemacs-97dea528c2b49642fe513807b86f9d378676a9e6.zip
feat(calendar-sync): multi-calendar support with property tests
Added multi-URL calendar sync supporting Google and Proton calendars. Each calendar syncs to separate file with per-calendar state tracking. Added 13 property-based tests for RRULE expansion. Total: 150 tests passing.
Diffstat (limited to 'tests/test-calendar-sync--expand-weekly.el')
-rw-r--r--tests/test-calendar-sync--expand-weekly.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-calendar-sync--expand-weekly.el b/tests/test-calendar-sync--expand-weekly.el
index e4e5b738..fe333c98 100644
--- a/tests/test-calendar-sync--expand-weekly.el
+++ b/tests/test-calendar-sync--expand-weekly.el
@@ -122,7 +122,8 @@
(unwind-protect
(let* ((start-date (test-calendar-sync-time-days-from-now 1 10 0))
(end-date (test-calendar-sync-time-days-from-now 1 11 0))
- (until-date (test-calendar-sync-time-days-from-now 60 0 0))
+ ;; UNTIL must be date-only (3 elements) for calendar-sync--before-date-p
+ (until-date (test-calendar-sync-time-date-only 60))
(base-event (list :summary "Time-Limited Event"
:start start-date
:end end-date))
@@ -253,7 +254,8 @@
(unwind-protect
(let* ((start-date (test-calendar-sync-time-days-ago 100 10 0))
(end-date (test-calendar-sync-time-days-ago 100 11 0))
- (until-date (test-calendar-sync-time-days-ago 50 0 0))
+ ;; UNTIL must be date-only (3 elements) for calendar-sync--before-date-p
+ (until-date (test-calendar-sync-time-date-only-ago 50))
(base-event (list :summary "Past Event"
:start start-date
:end end-date))