Add rudimentary tests of my profile hacks
This commit is contained in:
parent
ce63f7f54a
commit
55f23cbfcf
2 changed files with 10 additions and 6 deletions
10
tests.el
10
tests.el
|
|
@ -19,9 +19,13 @@
|
|||
;; This tries to hook into startup as late as possible, write a sign of life
|
||||
;; (currently a string written to $out), and then exits.
|
||||
|
||||
(defun test-minimal ()
|
||||
;; The minimal test is a noop.
|
||||
)
|
||||
(defun test-no-profile ()
|
||||
(when doom-profile
|
||||
(error "doom-profile should be unset, is %s" doom-profile)))
|
||||
|
||||
(defun test-nix-profile ()
|
||||
(unless (and doom-profile (equal (car doom-profile) "nix"))
|
||||
(error "non-nix doom-profile %s" doom-profile)))
|
||||
|
||||
(defun test-external-org ()
|
||||
"Test org can be loaded and it's not built-in."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue