mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Reorganize tests
This commit is contained in:
@ -34,6 +34,7 @@ affects your Emacs packages)."
|
||||
|
||||
(ert-deftest elpa-outdated-detection ()
|
||||
"TODO"
|
||||
(cl-letf (((symbol-function 'package-refresh-contents) (lambda (&rest _))))
|
||||
(let* ((doom--last-refresh (current-time))
|
||||
(package-alist
|
||||
`((doom-dummy ,(test-package-new 'doom-dummy '(20160405 1234)))))
|
||||
@ -41,7 +42,7 @@ affects your Emacs packages)."
|
||||
`((doom-dummy ,(test-package-new 'doom-dummy '(20170405 1234)))))
|
||||
(outdated (doom-package-outdated-p 'doom-dummy)))
|
||||
(should outdated)
|
||||
(should (equal outdated '(doom-dummy (20160405 1234) (20170405 1234))))))
|
||||
(should (equal outdated '(doom-dummy (20160405 1234) (20170405 1234)))))))
|
||||
|
||||
;; TODO quelpa-outdated-detection
|
||||
|
Reference in New Issue
Block a user