summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-23 03:46:39 -0500
committerCraig Jennings <c@cjennings.net>2026-05-23 03:46:39 -0500
commit0c1ba4a21228c8adc338b2652dd4b80d3ca84b2d (patch)
treecc77a1fea96ab0ee9d27a415a020cca12ce7eda6 /modules
parentb6eb76f1b9483bf6282f7d1c8a05b23f38241ee8 (diff)
downloaddotemacs-0c1ba4a21228c8adc338b2652dd4b80d3ca84b2d.tar.gz
dotemacs-0c1ba4a21228c8adc338b2652dd4b80d3ca84b2d.zip
test(flyspell-abbrev): cover checker gate, overlay search, mode dispatch
flyspell-and-abbrev.el had no tests. I added eight: cj/--require-spell-checker (errors when no checker is on PATH, passes when one is), cj/find-previous-flyspell-overlay against synthetic overlays (finds the closest previous flyspell overlay, ignores non-flyspell ones, returns nil when none exist), and cj/flyspell-on-for-buffer-type dispatching to flyspell-prog-mode in code buffers and flyspell-mode in text buffers. I left cj/flyspell-then-abbrev to manual testing. Pinning its flyspell-UI orchestration would mean mocking flyspell internals rather than our own logic.
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions