aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-13 19:58:26 -0500
committerCraig Jennings <c@cjennings.net>2026-05-13 19:58:26 -0500
commit60beda0bc51e885b1cbb3c5d6455655f43cf4de9 (patch)
tree35ec6f1bf9426f3ee9a8e906f97a8ebd64141dae /modules
parent5ba5cea8af2b7d94e3e092f7548f24a3cccd4d3c (diff)
downloaddotemacs-60beda0bc51e885b1cbb3c5d6455655f43cf4de9.tar.gz
dotemacs-60beda0bc51e885b1cbb3c5d6455655f43cf4de9.zip
test(custom-text-enclose): cover the seven interactive wrappers
The internal `cj/--*` helpers were already tested; the public dispatchers (`cj/surround-word-or-region`, `cj/wrap-word-or-region`, `cj/unwrap-word-or-region`, and the four `*-in-region-or-buffer` line helpers) were the gap. 18 new tests cover the region-active branch, the thing-at-point-word branch, and the no-word-no-region message branch for the first three; the region-vs-whole-buffer branches for the line-oriented four; plus a tab-vs-space pair for indent and a partial-dedent assertion. `read-string` is stubbed for the prompt-driven wrappers; `transient-mark-mode` is let-bound on so `use-region-p` returns t in batch.
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions