aboutsummaryrefslogtreecommitdiff
path: root/tests/test-ai-vterm--display-saved.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-ai-vterm--display-saved.el')
-rw-r--r--tests/test-ai-vterm--display-saved.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-ai-vterm--display-saved.el b/tests/test-ai-vterm--display-saved.el
index 866ff11d..0cf59a29 100644
--- a/tests/test-ai-vterm--display-saved.el
+++ b/tests/test-ai-vterm--display-saved.el
@@ -155,8 +155,8 @@ once and no spurious extra window leaks."
(let ((display-buffer-alist (cj/--ai-vterm-display-rule-list))
(window-count-before (count-windows)))
(select-window agent-win)
- (cj/ai-vterm) ; off
- (cj/ai-vterm) ; on
+ (cj/test--call-as-gui #'cj/ai-vterm) ; off
+ (cj/test--call-as-gui #'cj/ai-vterm) ; on
(should (<= (count-windows) window-count-before))
;; Agent must be displayed exactly once.
(let ((agent-windows