emacs-diffs
[Top][All Lists]
Advanced

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

master 8f89fdf: Fix test failures of test/lisp/auth-source-pass-tests.el


From: Joo Tvora
Subject: master 8f89fdf: Fix test failures of test/lisp/auth-source-pass-tests.el
Date: Mon, 25 Nov 2019 17:46:14 -0500 (EST)

branch: master
commit 8f89fdf7b0f346bee157f08a5e8927e91be41ab4
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Fix test failures of test/lisp/auth-source-pass-tests.el
    
    Failures introduced by recent "Make auth-source-pass-search understand
    port lists", commit 92fda5a7f92162d610d57df14372bcfcee1f01b6.
    
    * lisp/auth-source-pass.el
    (auth-source-pass--generate-entry-suffixes): Fix test failures.
---
 lisp/auth-source-pass.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/auth-source-pass.el b/lisp/auth-source-pass.el
index dfdb759..51322e4 100644
--- a/lisp/auth-source-pass.el
+++ b/lisp/auth-source-pass.el
@@ -277,7 +277,7 @@ PORT may be a list of ports."
                   (seq-mapcat
                    (lambda (p)
                      (auth-source-pass--name-port-user-suffixes domain user p))
-                   (if (listp port) port (list port))))
+                   (if (consp port) port (list port))))
                 domains)))
 
 (defun auth-source-pass--domains (name-components)



reply via email to

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