From: Naoya Yamashita Date: Mon, 22 Feb 2021 18:10:45 +0000 (+0900) Subject: add testcase X-Git-Tag: emacs-29.0.90~1306^2~15^2~17^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a35b924054;p=emacs.git add testcase --- 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)