diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el index 035c064d75c..c3dfd27a850 100644 --- a/test/lisp/subr-tests.el +++ b/test/lisp/subr-tests.el @@ -338,7 +338,7 @@ cf. Bug#25477." "Test for https://debbugs.gnu.org/22027 ." (let ((default "foo") res) (cl-letf (((symbol-function 'read-string) - (lambda (_prompt _init _hist def) def))) + (lambda (_prompt _init _hist def _inher-input) def))) (setq res (read-passwd "pass: " 'confirm (mapconcat #'string default ""))) (should (string= default res)))))