diff options
author | John Wiegley <johnw@newartisans.com> | 2022-10-12 13:43:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-12 13:43:57 -0400 |
commit | c0338e06cd6e346bcfc69c53010fc8170c1bd979 (patch) | |
tree | 33ce0760d42aea99b0b7c165e8c6b6abd945847f /test/lisp/use-package/use-package-tests.el | |
parent | 4107bbfbdb2b1e4601a7347e86ad4cf199d80976 (diff) | |
parent | a35b924054b553546f331513d2fcb0a29825affb (diff) | |
download | emacs-c0338e06cd6e346bcfc69c53010fc8170c1bd979.tar.gz emacs-c0338e06cd6e346bcfc69c53010fc8170c1bd979.tar.bz2 emacs-c0338e06cd6e346bcfc69c53010fc8170c1bd979.zip |
Merge pull request from conao3/add-commands-keyword
GitHub-reference: https://github.com/jwiegley/use-package/issues/917
Diffstat (limited to 'test/lisp/use-package/use-package-tests.el')
-rw-r--r-- | test/lisp/use-package/use-package-tests.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lisp/use-package/use-package-tests.el b/test/lisp/use-package/use-package-tests.el index 9510fffb01c..1ccd3ad0786 100644 --- a/test/lisp/use-package/use-package-tests.el +++ b/test/lisp/use-package/use-package-tests.el @@ -875,6 +875,12 @@ (gnus-harvest-install)) t)))) +(ert-deftest use-package-test/:autoload-1 () + (match-expansion + (use-package foo :autoload bar) + `(unless (fboundp 'bar) + (autoload #'bar "foo")))) + (ert-deftest use-package-test/:defines-1 () (match-expansion (use-package foo :defines bar) |