aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-drill-entries-loop.el
Commit message (Collapse)AuthorAgeFilesLines
* test: org-drill-entries main loop queue-routing logicCraig Jennings2026-05-051-0/+130
5 ERT tests for the session loop body: - quit return (nil) sets end-pos = :quit and exits the loop - edit return ('edit) sets end-pos to a marker and exits - passing rating (>failure-quality) routes marker to done-entries - failing rating (<= failure-quality) skips done-entries - skip return clears current-item without queueing Tests use a tempfile-backed buffer because pop-next-pending-entry calls org-drill-entry-p on each marker, which requires real org buffer state.