From: Óscar Fuentes Date: Mon, 12 Aug 2019 14:22:34 +0000 (+0200) Subject: * lisp/password-cache.el: adapt test to change in password-in-cache-p X-Git-Tag: emacs-27.0.90~1639 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dbae38efc22e117c20f6cd9bfd8300d692055c70;p=emacs.git * lisp/password-cache.el: adapt test to change in password-in-cache-p --- diff --git a/test/lisp/password-cache-tests.el b/test/lisp/password-cache-tests.el index bb8064d4c69..1abb546113e 100644 --- a/test/lisp/password-cache-tests.el +++ b/test/lisp/password-cache-tests.el @@ -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")))))