aboutsummaryrefslogtreecommitdiff
path: root/tests/test-custom-whitespace-public-wrappers.el
Commit message (Collapse)AuthorAgeFilesLines
* test(custom-whitespace): cover the six interactive dispatchersCraig Jennings2026-05-131-0/+183
The internal `cj/--*` helpers were exhaustively tested; the public dispatchers (`cj/remove-leading-trailing-whitespace`, `cj/collapse-whitespace-line-or-region`, `cj/ensure-single-blank-line`, `cj/delete-blank-lines-region-or-buffer`, `cj/delete-all-whitespace`, `cj/hyphenate-whitespace-in-region`) were not. 15 new tests cover the region / line / whole-buffer branches plus the two `yes-or-no-p` prompt paths (accept and decline). `transient-mark-mode` is let-bound on so `use-region-p` returns t in batch.