summaryrefslogtreecommitdiff
path: root/test/lisp/net/secrets-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/net/secrets-tests.el')
-rw-r--r--test/lisp/net/secrets-tests.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lisp/net/secrets-tests.el b/test/lisp/net/secrets-tests.el
index 9a61bca4351..b501fa602d0 100644
--- a/test/lisp/net/secrets-tests.el
+++ b/test/lisp/net/secrets-tests.el
@@ -232,7 +232,10 @@
"session" "baz" "secret"
:method "ssh" :user "joe" :host "other-host"))
- ;; Search the items.
+ ;; Search the items. `secrets-search-items' uses
+ ;; `secrets-search-item-paths' internally, it is sufficient to
+ ;; test only one of them.
+ (should-not (secrets-search-item-paths "session" :user "john"))
(should-not (secrets-search-items "session" :user "john"))
(should-not
(secrets-search-items "session" :xdg:schema "org.gnu.Emacs.foo"))