1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00

add testcase

This commit is contained in:
Naoya Yamashita 2021-02-23 03:10:45 +09:00
parent dbfb3484cd
commit a35b924054

View file

@ -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)