Fix ui/doom-dashboard tests
This commit is contained in:
parent
23ff93703c
commit
1583ca573d
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
(should (+doom-dashboard-p)))))
|
||||
|
||||
(def-test! get-pwd
|
||||
:minor-mode projectile-mode
|
||||
(let ((default-directory doom-core-dir)
|
||||
(+doom-dashboard--last-cwd doom-core-dir)
|
||||
projectile-enable-caching)
|
||||
|
@ -40,6 +41,7 @@
|
|||
(should (equal (+doom-dashboard--get-pwd) (cdr spec)))))))
|
||||
|
||||
(def-test! pwd-policy
|
||||
:minor-mode projectile-mode
|
||||
(dolist (spec (list (cons 'last-project doom-emacs-dir)
|
||||
(cons 'last doom-core-dir)
|
||||
(cons "~" (expand-file-name "~/"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue