diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-25 09:00:22 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-25 09:00:22 -0400 |
| commit | dab977affcf1712e2b1b7594455ad25497bf279e (patch) | |
| tree | 05494348555c6f04cf6fe6ddc63df62e126435d4 /tests/test-ai-term--agent-buffers.el | |
| parent | 3d53f4540a1165fbcce65ec1cdbc96b79c4c4c79 (diff) | |
| download | dotemacs-dab977affcf1712e2b1b7594455ad25497bf279e.tar.gz dotemacs-dab977affcf1712e2b1b7594455ad25497bf279e.zip | |
test(ai-term): isolate layout-capture globals in collapse-split tests
The multi-window and single-window collapse tests call cj/ai-term, which captures the current layout into cj/--ai-term-last-direction / cj/--ai-term-last-size on toggle-off, but only let-bound cj/--ai-term-last-was-bury. They leaked last-direction into the display-rule test, whose display-saved action reads those globals to choose the split direction, so its agent buffer split below instead of right and the assertion failed. Let-bind last-direction and last-size to nil, matching the roundtrip test in the same file. Full ai-term suite is green.
Diffstat (limited to 'tests/test-ai-term--agent-buffers.el')
0 files changed, 0 insertions, 0 deletions
