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