pending.nvim/spec
Barrett Ruth 39c98012d0 test: add top-priority missing test coverage
Problem: several critical code paths had zero test coverage —
parse.resolve_date (relative date resolution), store.snapshot
(foundation of the undo stack), and the diff.apply invariant that
unchanged tasks do not get their modified timestamp bumped. The
diff.apply due/priority clearing paths were also untested.

Solution: add six targeted test blocks across parse_spec, store_spec,
and diff_spec: resolve_date happy/failure paths, parse.body with
relative due tokens, snapshot copy-semantics and deleted-task
exclusion, diff unchanged-modified invariant, due cleared on removal,
priority cleared on ! removal.
2026-02-24 19:57:21 -05:00
..
archive_spec.lua feat: overdue highlighting, relative dates, undo write, buffer mappings (#1) 2026-02-24 18:33:07 -05:00
diff_spec.lua test: add top-priority missing test coverage 2026-02-24 19:57:21 -05:00
helpers.lua test: add store, parse, and diff specs 2026-02-24 15:10:09 -05:00
parse_spec.lua test: add top-priority missing test coverage 2026-02-24 19:57:21 -05:00
store_spec.lua test: add top-priority missing test coverage 2026-02-24 19:57:21 -05:00
views_spec.lua feat: overdue highlighting, relative dates, undo write, buffer mappings (#1) 2026-02-24 18:33:07 -05:00