[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master bd5aebc: Fix failing subr test
From: |
Lars Ingebrigtsen |
Subject: |
master bd5aebc: Fix failing subr test |
Date: |
Mon, 26 Apr 2021 19:32:01 -0400 (EDT) |
branch: master
commit bd5aebce03b3e67007a4ea517b9938b729f97a14
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix failing subr test
* test/lisp/subr-tests.el (subr-tests-bug22027): Fix mocked
signature of `read-string' (bug#48022).
---
test/lisp/subr-tests.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el
index 8fa3917..1e14673 100644
--- a/test/lisp/subr-tests.el
+++ b/test/lisp/subr-tests.el
@@ -382,7 +382,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 _inher-input) def)))
+ (lambda (_prompt &optional _init _hist def _inher-input) def)))
(setq res (read-passwd "pass: " 'confirm (mapconcat #'string default
"")))
(should (string= default res)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master bd5aebc: Fix failing subr test,
Lars Ingebrigtsen <=