diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-13 19:58:26 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-13 19:58:26 -0500 |
| commit | 84c222d9db43cce458ab07a0567b459b4576fb1f (patch) | |
| tree | d8cec9bd914da670b0ca6ad65080dae368ee706c /modules/telega-config.el | |
| parent | fdf296c4d0f6d6120d63b36a0bd638fdfd5f1922 (diff) | |
| download | dotemacs-84c222d9db43cce458ab07a0567b459b4576fb1f.tar.gz dotemacs-84c222d9db43cce458ab07a0567b459b4576fb1f.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/telega-config.el')
0 files changed, 0 insertions, 0 deletions
