diff options
author | Naoya Yamashita <conao3@gmail.com> | 2021-02-23 03:10:45 +0900 |
---|---|---|
committer | Naoya Yamashita <conao3@gmail.com> | 2021-02-23 04:12:03 +0900 |
commit | a35b924054b553546f331513d2fcb0a29825affb (patch) | |
tree | a12c82b07b6fc6f230323c74160ad6568d1a3c7c | |
parent | dbfb3484cddcb81400265e5885ac5c5b1c51bc87 (diff) | |
download | emacs-a35b924054.tar.gz |
add testcase
-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 3825aa36487..28d4620ac1a 100644 --- a/test/lisp/use-package/use-package-tests.el +++ b/test/lisp/use-package/use-package-tests.el @@ -889,6 +889,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) |