aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-drill-display-state.el
Commit message (Collapse)AuthorAgeFilesLines
* test: cover marker end-pos, variable-pitch restore, young/overdue queue branchesCraig Jennings2026-05-051-0/+50
| | | | | | | | | | | I extended three existing test files with cases that hit branches the suite was missing: `org-drill--show-end-message' with a live-marker end-pos (jumps to the marker), `org-drill--restore-display' for the variable-pitch-on / variable-pitch-off / text-scale paths, and `org-drill-pop-next-pending-entry' for the young-mature and overdue branches in the queue priority cond. Coverage moved from 87.0% to 87.8%.
* test: cover --setup-display, --restore-display, --migrate-from-source, ↵Craig Jennings2026-05-051-0/+115
scope=directory I added unit tests for the display-state helpers (capture text scale, variable-pitch, modeline; restore them on session exit), the directory branch of `org-drill-current-scope', and `--migrate-from-source''s three-branch cond (matching ID, no ID, ignore-new-items). Coverage moved from 81.8% to 82.4%.