summaryrefslogtreecommitdiff
path: root/test/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-10-21 06:26:30 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-10-21 06:26:30 +0200
commit805ed8d3188d11750b6f1612dde14f845d894679 (patch)
tree701afb4c2862812ec1b045df665f6c92df009a59 /test/lisp
parent8f42ff31f66afa03f7d16857ca588d95549b9cf4 (diff)
downloademacs-805ed8d3188d11750b6f1612dde14f845d894679.tar.gz
emacs-805ed8d3188d11750b6f1612dde14f845d894679.tar.bz2
emacs-805ed8d3188d11750b6f1612dde14f845d894679.zip
Fix todo-mode AOT test failures (bug#51308)
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/calendar/todo-mode-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/calendar/todo-mode-tests.el b/test/lisp/calendar/todo-mode-tests.el
index 0538368fc82..9b5d990b9bd 100644
--- a/test/lisp/calendar/todo-mode-tests.el
+++ b/test/lisp/calendar/todo-mode-tests.el
@@ -567,7 +567,7 @@ The remaining arguments (except _ARG, which is ignored) specify
item insertion parameters. This provides a noninteractive API
for todo-insert-item for use in automatic testing."
(cl-letf (((symbol-function 'read-from-minibuffer)
- (lambda (_prompt) item))
+ (lambda (_prompt &rest _) item))
((symbol-function 'read-number) ; For todo-set-item-priority
(lambda (_prompt &optional _default) (or priority 1))))
(todo-insert-item--basic nil diary-type date-type time where)))