1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00

* lisp/password-cache.el: adapt test to change in password-in-cache-p

This commit is contained in:
Óscar Fuentes 2019-08-12 16:22:34 +02:00
parent 88006cf542
commit dbae38efc2

View File

@ -29,7 +29,7 @@
(ert-deftest password-cache-tests-add-and-remove ()
(let ((password-data (copy-hash-table password-data)))
(password-cache-add "foo" "bar")
(should (equal (password-in-cache-p "foo") "bar"))
(should (eq (password-in-cache-p "foo") t))
(password-cache-remove "foo")
(should (not (password-in-cache-p "foo")))))