aboutsummaryrefslogtreecommitdiff
path: root/modules/selection-framework.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 00:57:09 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 00:57:09 -0500
commit5fe8e1cddac6208fab9198e270a5e2f551bcca24 (patch)
tree260601da46949022b99149091e176f9b127b9466 /modules/selection-framework.el
parent2f9e46afc7f609a3352f82fabe28ea45186c617d (diff)
downloaddotemacs-5fe8e1cddac6208fab9198e270a5e2f551bcca24.tar.gz
dotemacs-5fe8e1cddac6208fab9198e270a5e2f551bcca24.zip
test(custom-comments): cover the eight interactive comment wrappers
The internal `cj/--comment-*` helpers were covered in the sibling test files; their interactive wrappers were the gap. 11 new tests drive each wrapper through its full prompt cycle (read-string / read-from-minibuffer / completing-read all stubbed) and assert the wrapper produces output containing the supplied text. The length-option branches for `cj/comment-simple-divider` are exercised across all three values (fill-column / half-column / match-text), and `cj/comment-hyphen`'s thin delegate to `cj/comment-inline-border` with "-" is covered too. The wrappers split between `read-string` and `read-from-minibuffer` for their text input (box uses minibuffer; the rest use read-string); the tests stub each function explicitly to drive the right path.
Diffstat (limited to 'modules/selection-framework.el')
0 files changed, 0 insertions, 0 deletions