aboutsummaryrefslogtreecommitdiff
path: root/test-from-git
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-05 04:19:24 -0500
committerCraig Jennings <c@cjennings.net>2026-05-05 04:19:24 -0500
commit39a465d54964873980b1b3fe147e7e640bf74985 (patch)
treee25ed25c389096e8f5893d2398390852044f62b9 /test-from-git
parent8a83694d8882a3a80328b7ffd8ddbc2c2c73f3ae (diff)
downloadorg-drill-39a465d54964873980b1b3fe147e7e640bf74985.tar.gz
org-drill-39a465d54964873980b1b3fe147e7e640bf74985.zip
test: add entry-status, days-since-creation, and overdue ordering coverage
Plus a docs fix to org-drill-order-overdue-entries' header comment. 16 ERT tests covering: - org-drill-entry-status: non-drill nil, empty entry nil, virgin :new, future :future, low-quality :failed, due+short-interval :young, due+long-interval :old, very-overdue :overdue, skipped-leech :unscheduled, three-element return shape - org-drill-entry-days-since-creation: with DATE_ADDED, missing without flag (nil), missing with use-last-interval-p flag (overdue+interval) - org-drill-order-overdue-entries: empty stays empty, non-lapsed sorted by DUE desc, lapsed split (by DUE crossing threshold, not AGE) appearing after sorted by AGE desc Fixed misleading header comment at line 2888 — it claimed the lapse split was by AGE, but the code uses DUE (cl-second). This matches the semantic gate in org-drill--entry-lapsed-p, so the code was right and the comment was stale. Updated the comment to state the actual three-step sort.
Diffstat (limited to 'test-from-git')
0 files changed, 0 insertions, 0 deletions