aboutsummaryrefslogtreecommitdiff
path: root/tests/test-undead-buffers-kill-buffer-and-window.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 09:00:22 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 09:00:22 -0400
commitdab977affcf1712e2b1b7594455ad25497bf279e (patch)
tree05494348555c6f04cf6fe6ddc63df62e126435d4 /tests/test-undead-buffers-kill-buffer-and-window.el
parent3d53f4540a1165fbcce65ec1cdbc96b79c4c4c79 (diff)
downloaddotemacs-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-undead-buffers-kill-buffer-and-window.el')
0 files changed, 0 insertions, 0 deletions