tests: update configuration layers func. tests
This commit is contained in:
parent
a767ad6e21
commit
71ce9968d9
|
@ -15,14 +15,15 @@
|
|||
;; configuration-layer//declare-layers
|
||||
;; ---------------------------------------------------------------------------
|
||||
|
||||
(ert-deftest test-declare-layers--spacemacs-layer-always-first ()
|
||||
(let ((dotspacemacs-configuration-layers '(spacemacs
|
||||
emacs-lisp
|
||||
(ert-deftest test-declare-layers--distribution-layer-always-first ()
|
||||
(let ((dotspacemacs-distribution 'spacemacs)
|
||||
(dotspacemacs-configuration-layers '(emacs-lisp
|
||||
(git :variables foo 'bar))))
|
||||
(configuration-layer//declare-layers)
|
||||
(should (eq 'spacemacs (oref (first configuration-layer--layers) :name)))))
|
||||
|
||||
(ert-deftest test-declare-layers--spacemacs-layer-always-first-all ()
|
||||
(let ((dotspacemacs-configuration-layers 'all))
|
||||
(ert-deftest test-declare-layers--distribution-layer-always-first-all ()
|
||||
(let ((dotspacemacs-distribution 'spacemacs)
|
||||
(dotspacemacs-configuration-layers 'all))
|
||||
(configuration-layer//declare-layers)
|
||||
(should (eq 'spacemacs (oref (first configuration-layer--layers) :name)))))
|
||||
|
|
Loading…
Reference in a new issue