diff options
author | Jelle Licht <jlicht@fsfe.org> | 2018-01-08 17:34:38 +0100 |
---|---|---|
committer | Nicolas Petton <nicolas@petton.fr> | 2018-06-05 15:51:26 +0200 |
commit | 1d2551f8e70ab80a6f57ee11ab70f54aa916adcd (patch) | |
tree | 12bd87f8901445dd326e9e8219ad9fd6e259da14 /test/lisp/emacs-lisp/regexp-opt-tests.el | |
parent | b43ed61ef985e01975b90d7e0ec3cac70d0afefa (diff) | |
download | emacs-1d2551f8e70ab80a6f57ee11ab70f54aa916adcd.tar.gz emacs-1d2551f8e70ab80a6f57ee11ab70f54aa916adcd.tar.bz2 emacs-1d2551f8e70ab80a6f57ee11ab70f54aa916adcd.zip |
Fix auth-source-pass.el to properly handle special inputs
* lisp/auth-source-pass.el (auth-source-pass-search): Warn when
passing multiple hosts in SPEC. Early return and warn when passing a
wildcard as host in SPEC. Early return when host is nil.
* test/lisp/auth-source-pass-tests.el (auth-source-pass-any-host,
auth-source-pass-undefined-host): Add corresponding tests.
Diffstat (limited to 'test/lisp/emacs-lisp/regexp-opt-tests.el')
0 files changed, 0 insertions, 0 deletions