aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-30 09:25:18 -0500
committerCraig Jennings <c@cjennings.net>2026-04-30 09:25:18 -0500
commitec84389871858beb83d5ee024ca0435aec3335ef (patch)
tree350f313ba7872f7385e2c13ad411cdc54828fd29 /init.el
parentab1b0fb832722f1eed8106987069926078540758 (diff)
downloaddotemacs-ec84389871858beb83d5ee024ca0435aec3335ef.tar.gz
dotemacs-ec84389871858beb83d5ee024ca0435aec3335ef.zip
test(config-utilities): cover validate-timestamps and format-report helpers
Two test files covering the extracted timestamp-validation helpers. cj/--validate-timestamps-in-buffer (8 tests): empty buffer no-op, buffer with no timestamps, buffer with all valid timestamps, DEADLINE flagged with "DEADLINE" property, SCHEDULED flagged with "SCHEDULED", inline-timestamp flagged with "inline timestamp", multiple invalid collected in document order, mixed valid+invalid returning only the invalid one. Tests use real org parsing and mock org-time-string-to-absolute at the boundary so an arbitrary timestamp can be marked invalid for a given test. cj/--format-validation-report-section (4 tests): no-entries says "No invalid timestamps found", single-entry produces the file: link + Property/Type + Invalid timestamp lines, multiple-entry preserves input order, every section ends with a trailing blank line.
Diffstat (limited to 'init.el')
0 files changed, 0 insertions, 0 deletions