[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp 29f7024 6/7: * Fix a test in test/lisp/subr-tests.el
From: |
Andrea Corallo |
Subject: |
feature/native-comp 29f7024 6/7: * Fix a test in test/lisp/subr-tests.el |
Date: |
Tue, 6 Oct 2020 12:37:44 -0400 (EDT) |
branch: feature/native-comp
commit 29f7024b6cfc01d6cae10603733b35784b4e4aef
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* Fix a test in test/lisp/subr-tests.el
* test/lisp/subr-tests.el (subr-tests-bug22027): Redefine
`read-string' with a lambda with the same number of arguments.
---
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 035c064..c3dfd27 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)))))
- feature/native-comp updated (3232000 -> 4a1bb46), Andrea Corallo, 2020/10/06
- feature/native-comp ad5a2bb 1/7: Revert "Add `advice-flet' macro", Andrea Corallo, 2020/10/06
- feature/native-comp f43dbe6 5/7: Add a test for primitive redefinition, Andrea Corallo, 2020/10/06
- feature/native-comp 4a1bb46 7/7: * Native compiling do not target a directory with no write permission, Andrea Corallo, 2020/10/06
- feature/native-comp 0b58be4 3/7: Rename comp-subr-safe-advice -> comp-subr-trampoline-install, Andrea Corallo, 2020/10/06
- feature/native-comp b3ade4d 2/7: Revert "Use `advice-flet' in place of `cl-letf' to avoid primitive..., Andrea Corallo, 2020/10/06
- feature/native-comp 87c6aa1 4/7: Make primitive redefinition effective through trampoline synthesis, Andrea Corallo, 2020/10/06
- feature/native-comp 29f7024 6/7: * Fix a test in test/lisp/subr-tests.el,
Andrea Corallo <=