<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-selection-framework--consult-line-or-repeat.el, branch load-graph-classify-end</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-12T22:09:46+00:00</updated>
<entry>
<title>test(selection-framework): cover both branches of the C-s dispatch</title>
<updated>2026-05-12T22:09:46+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-12T22:09:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=2c5d1c518addd736f618e0441930062d97152760'/>
<id>urn:sha1:2c5d1c518addd736f618e0441930062d97152760</id>
<content type='text'>
`cj/consult-line-or-repeat` had only a keybinding test. I added `tests/test-selection-framework--consult-line-or-repeat.el` — 4 ERT tests covering the fresh-search branch, the repeat-on-second-call branch, the nil `last-command` boundary, and `commandp`, with `consult-line` and `vertico-repeat` stubbed. It reuses the `use-package`-shadow trick from the keybindings test, so the module loads without dragging in the vertico/consult/embark/company/prescient stack.
</content>
</entry>
</feed>
