diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-25 17:11:13 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-25 17:11:13 -0500 |
| commit | 15da7765a0ad8c52298ef2f3cfd5c0c9047f2c71 (patch) | |
| tree | e3fb8db8461aaaefcf1a121ff51ef5d1df72d5e9 /tests/test-prog-webdev-format.el | |
| parent | 855d009bcfd96908465b65f68117eb5c345d8253 (diff) | |
| download | dotemacs-15da7765a0ad8c52298ef2f3cfd5c0c9047f2c71.tar.gz dotemacs-15da7765a0ad8c52298ef2f3cfd5c0c9047f2c71.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-webdev-format.el')
0 files changed, 0 insertions, 0 deletions
