aboutsummaryrefslogtreecommitdiff
path: root/tests/test-ai-config-commands.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-ai-config-commands.el')
-rw-r--r--tests/test-ai-config-commands.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-ai-config-commands.el b/tests/test-ai-config-commands.el
index 8da2e4b01..fed06d82b 100644
--- a/tests/test-ai-config-commands.el
+++ b/tests/test-ai-config-commands.el
@@ -86,7 +86,7 @@ globally and reports via `message'."
added)
(unwind-protect
(cl-letf (((symbol-function 'featurep)
- (lambda (sym) (not (eq sym 'projectile))))
+ (lambda (sym &rest _) (not (eq sym 'projectile))))
((symbol-function 'read-file-name)
(lambda (&rest _) target))
((symbol-function 'gptel-add-file)
@@ -133,7 +133,7 @@ globally and reports via `message'."
(cl-letf (((symbol-function 'gptel-context-remove-all)
(lambda () (setq called t)))
((symbol-function 'call-interactively)
- (lambda (fn) (funcall fn)))
+ (lambda (fn &rest _) (funcall fn)))
((symbol-function 'message)
(lambda (fmt &rest args) (setq msg (apply #'format fmt args)))))
(cj/gptel-context-clear))