Rename doom-protected-packages => doom-core-packages
This commit is contained in:
parent
2aac675978
commit
e3a33f6a9e
3 changed files with 7 additions and 7 deletions
|
@ -53,7 +53,7 @@ affects your Emacs packages)."
|
|||
(package-alist
|
||||
`((doom-dummy nil)
|
||||
(doom-dummy-dep nil)))
|
||||
doom-protected-packages)
|
||||
doom-core-packages)
|
||||
(cl-letf (((symbol-function 'doom-initialize-packages) (lambda (&rest _))))
|
||||
(should (equal (doom-get-packages) '((doom-dummy)))))))
|
||||
|
||||
|
@ -65,7 +65,7 @@ no longer enabled or depended on."
|
|||
`((doom-dummy ,(test-package-new 'doom-dummy '(20160405 1234) '((doom-dummy-dep (1 0)))))
|
||||
(doom-dummy-unwanted ,(test-package-new 'doom-dummy-unwanted '(20160601 1234)))
|
||||
(doom-dummy-dep ,(test-package-new 'doom-dummy-dep '(20160301 1234)))))
|
||||
doom-protected-packages)
|
||||
doom-core-packages)
|
||||
(cl-letf (((symbol-function 'doom-initialize-packages) (lambda (&rest _))))
|
||||
(should (equal (doom-get-orphaned-packages) '(doom-dummy-unwanted))))))
|
||||
|
||||
|
@ -74,6 +74,6 @@ no longer enabled or depended on."
|
|||
aren't installed."
|
||||
(let ((doom-packages '((doom-dummy) (doom-dummy-installed)))
|
||||
(package-alist `((doom-dummy-installed ,(test-package-new 'doom-dummy-installed '(20160405 1234)))))
|
||||
doom-protected-packages)
|
||||
doom-core-packages)
|
||||
(cl-letf (((symbol-function 'doom-initialize-packages) (lambda (&rest _))))
|
||||
(should (equal (doom-get-missing-packages) '((doom-dummy))))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue