projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbfb348
)
add testcase
author
Naoya Yamashita
<conao3@gmail.com>
Mon, 22 Feb 2021 18:10:45 +0000
(
03:10
+0900)
committer
Naoya Yamashita
<conao3@gmail.com>
Mon, 22 Feb 2021 19:12:03 +0000
(
04:12
+0900)
test/lisp/use-package/use-package-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/use-package/use-package-tests.el
b/test/lisp/use-package/use-package-tests.el
index 3825aa3648745aececd08ae7c2aba594ef6baa13..28d4620ac1a2a56cee3a33cb5888cb0f65eb6b83 100644
(file)
--- 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)