diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-15 22:15:27 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-15 22:15:27 -0500 |
| commit | c0a9492db90b261a243547ddc8a1002ac34e0178 (patch) | |
| tree | 74ed8a07f748319f071de08b26898d1678f3b5b5 | |
| parent | 172cee3185ba946e2504f1d3beb232db84ef77a6 (diff) | |
| download | dotemacs-c0a9492db90b261a243547ddc8a1002ac34e0178.tar.gz dotemacs-c0a9492db90b261a243547ddc8a1002ac34e0178.zip | |
test(ai-term): stub default-direction in display-rule test
Same fragility as the sibling tests: it stubbed env-laptop-p (now unused by the direction logic) and passed only because the batch frame is landscape. Stub the direction directly.
| -rw-r--r-- | tests/test-ai-term--display-rule.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-ai-term--display-rule.el b/tests/test-ai-term--display-rule.el index 906a47680..4a148a5c0 100644 --- a/tests/test-ai-term--display-rule.el +++ b/tests/test-ai-term--display-rule.el @@ -38,7 +38,7 @@ desktop branch; on a laptop the agent would land below instead." (let ((name "agent [display-rule-test]")) (test-ai-term--cleanup name) (unwind-protect - (cl-letf (((symbol-function 'env-laptop-p) (lambda () nil))) + (cl-letf (((symbol-function 'cj/--ai-term-default-direction) (lambda (&rest _) 'right))) (test-ai-term--with-clean-frame (let* ((buf (get-buffer-create name)) (win (display-buffer buf))) |
