aboutsummaryrefslogtreecommitdiff
path: root/tests/test-prog-lisp.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-25 17:11:13 -0500
committerCraig Jennings <c@cjennings.net>2026-05-25 17:11:13 -0500
commit6416f1e9fcaa7a6b639e62c392472ecafa2b7d5c (patch)
treec6707b5d5cf1456851a3af2a06aa57ad797aa55c /tests/test-prog-lisp.el
parent44e53d4da30eb6cce6b03d500561fc9d07f4d44a (diff)
downloaddotemacs-6416f1e9fcaa7a6b639e62c392472ecafa2b7d5c.tar.gz
dotemacs-6416f1e9fcaa7a6b639e62c392472ecafa2b7d5c.zip
test(mu4e-org-contacts): cover the completion-at-point and TAB dispatch logic
mu4e-org-contacts-integration.el had no tests. I added ten characterization tests for the completion glue. The capf only fires inside a header field of a compose buffer, so I check it both ways (wrong mode, wrong field) plus the bounds and table it returns when contacts exist and the empty-contacts case. TAB dispatches three ways depending on context, so each branch gets a test: completion-at-point in a header, org-cycle in the org-msg body, indent elsewhere. Comma completion and the direct-insert path round it out. The header predicate, the mode actions, and cj/get-all-contact-emails are stubbed, so the run stays headless with no mu4e or org-contacts dependency.
Diffstat (limited to 'tests/test-prog-lisp.el')
0 files changed, 0 insertions, 0 deletions