Update & fix unit tests
This commit is contained in:
parent
d5c799a536
commit
57efa1b864
3 changed files with 5 additions and 7 deletions
|
@ -10,7 +10,10 @@ If neither is available, run all tests in all enabled modules."
|
|||
(interactive)
|
||||
(let ((doom-modules (make-hash-table :test #'equal)))
|
||||
;; ensure DOOM is initialized
|
||||
(doom-initialize-packages t)
|
||||
(let (noninteractive)
|
||||
;; Core libraries aren't fully loaded in a noninteractive session, so
|
||||
;; we reload it with `noninteractive' set to nil to force them to.
|
||||
(load (expand-file-name "core.el" doom-core-dir) nil t t))
|
||||
(condition-case-unless-debug ex
|
||||
(let ((target-paths
|
||||
;; Convert targets (either from MODULES or `argv') into a list of
|
||||
|
@ -18,7 +21,7 @@ If neither is available, run all tests in all enabled modules."
|
|||
(cond ((string= (car argv) "--") ; command line
|
||||
(save-match-data
|
||||
(cl-loop for arg in (cdr argv)
|
||||
if (equal arg "core") collect doom-core-dir
|
||||
if (string= arg "core") collect doom-core-dir
|
||||
else if (string-match-p "/" arg)
|
||||
nconc (cl-loop for dir in doom-modules-dirs
|
||||
collect (expand-file-name arg dir))
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
||||
;;; completion/company/test/company.el
|
||||
|
||||
(require! :completion company)
|
||||
(require 'company)
|
||||
|
||||
;;
|
||||
(def-test! set-company-backend
|
||||
:minor-mode company-mode
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; feature/evil/test/evil.el
|
||||
|
||||
(require! :feature evil)
|
||||
|
||||
;;
|
||||
;; `evil-ex-replace-special-filenames'
|
||||
(def-test! resolve-vim-path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue