aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-noter--generate-notes-template.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-17 19:03:37 -0500
committerCraig Jennings <c@cjennings.net>2026-07-17 19:03:37 -0500
commit65b23131a2014032ffc13a404025188d9fc9aabe (patch)
tree22ba81c44597e09aa4e0c6cf15c1fcc7b90439e0 /tests/test-org-noter--generate-notes-template.el
parentf30a96edd320337ea9a35d2f0fc0cf21f94deb05 (diff)
downloaddotemacs-65b23131a2014032ffc13a404025188d9fc9aabe.tar.gz
dotemacs-65b23131a2014032ffc13a404025188d9fc9aabe.zip
test: assert recurring-events window against calendar-sync's own range
The rolling-window integration test hand-rolled its bound as now minus 90 days to now plus 365 days at the current clock time. The code's window is minus-3 / plus-12 calendar months at day granularity. So a boundary occurrence stamped at midnight sat inside the code's window but before the now-minus-90-days bound, and the test passed or failed by the day it ran (green 2026-07-16, red 2026-07-17). I switched the assertion to calendar-sync--get-date-range, so the test checks the invariant it names: every emitted occurrence lands within the window the pipeline computed, stable on any date.
Diffstat (limited to 'tests/test-org-noter--generate-notes-template.el')
0 files changed, 0 insertions, 0 deletions