diff options
| author | Craig Jennings <c@cjennings.net> | 2025-12-02 07:55:21 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-12-02 07:55:21 -0600 |
| commit | 0f6ebba4ac9a6ff2d0c5da8182ae7fa4803cc14e (patch) | |
| tree | 09fc01b042753f9d3ae975844debc44fc2b6759a /tests/test-calendar-sync--expand-weekly.el | |
| parent | 6fcbae0f496b13e873756092fbcc147c1480e7e1 (diff) | |
| download | dotemacs-0f6ebba4ac9a6ff2d0c5da8182ae7fa4803cc14e.tar.gz dotemacs-0f6ebba4ac9a6ff2d0c5da8182ae7fa4803cc14e.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.el | 6 |
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)) |
