]> git.eshelyaron.com Git - emacs.git/commit
Add auth-source tests and codify its API better
authorTed Zlatanov <tzz@lifelogs.com>
Fri, 18 Aug 2017 22:30:37 +0000 (18:30 -0400)
committerTed Zlatanov <tzz@lifelogs.com>
Fri, 18 Aug 2017 22:31:00 +0000 (18:31 -0400)
commit3565437bf27373fe053d93dbb0c295f221834b07
tree272e48b5cbbc0e594ca608735e571b1f8fa1b54e
parente962ca57e0bfe3bc2e319bb03dc0c6a9b1a7c5ee
Add auth-source tests and codify its API better

The auth-source behavior was unclear in some API use cases, so these
extra tests codify and test it. For details see
https://github.com/DamienCassou/auth-password-store/issues/29

* lisp/files.el (make-temp-file): Add new initial TEXT parameter.
* test/lisp/auth-source-tests.el (auth-source-test-searches): Add
  auth-source tests and simplify them with the new `make-temp-file'.
lisp/files.el
test/lisp/auth-source-tests.el