emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master dbae38e: * lisp/password-cache.el: adapt test to ch


From: Oscar Fuentes
Subject: [Emacs-diffs] master dbae38e: * lisp/password-cache.el: adapt test to change in password-in-cache-p
Date: Mon, 12 Aug 2019 10:24:02 -0400 (EDT)

branch: master
commit dbae38efc22e117c20f6cd9bfd8300d692055c70
Author: Óscar Fuentes <address@hidden>
Commit: Óscar Fuentes <address@hidden>

    * lisp/password-cache.el: adapt test to change in password-in-cache-p
---
 test/lisp/password-cache-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lisp/password-cache-tests.el 
b/test/lisp/password-cache-tests.el
index bb8064d..1abb546 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")))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]