mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Load bare minimum for tests
This commit is contained in:
@ -26,10 +26,9 @@ If neither is available, run all tests in all enabled modules."
|
||||
(condition-case-unless-debug ex
|
||||
(let (targets)
|
||||
;; ensure DOOM is initialized
|
||||
(let (noninteractive)
|
||||
(unload-feature 'core t)
|
||||
(load (expand-file-name "init.el" user-emacs-directory) nil t))
|
||||
(run-hooks 'emacs-startup-hook)
|
||||
(let (noninteractive)
|
||||
(load (expand-file-name "core/core.el" user-emacs-directory) nil t))
|
||||
;; collect targets
|
||||
(cond ((and command-line-args-left
|
||||
(equal (car command-line-args-left) "--"))
|
||||
|
@ -1,6 +1,8 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; feature/evil/test/evil.el
|
||||
|
||||
(require! :feature evil)
|
||||
|
||||
;; `+evil*ex-replace-special-filenames'
|
||||
(def-test! file-modifiers
|
||||
(cl-flet ((do-it #'+evil*ex-replace-special-filenames))
|
||||
|
Reference in New Issue
Block a user