mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-06 04:09:37 +00:00
Add expand-maximally macro to up-tests.el
This commit is contained in:
parent
026433a8a0
commit
4042b87c72
1 changed files with 5 additions and 0 deletions
|
@ -61,6 +61,11 @@
|
|||
(use-package-expand-minimally t))
|
||||
(macroexpand-1 ',form)))
|
||||
|
||||
(defmacro expand-maximally (form)
|
||||
`(let ((use-package-verbose 'debug)
|
||||
(use-package-expand-minimally nil))
|
||||
(macroexpand-1 ',form)))
|
||||
|
||||
(defmacro match-expansion (form &rest value)
|
||||
`(should (pcase (expand-minimally ,form)
|
||||
,@(mapcar #'(lambda (x) (list x t)) value))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue