Forward-require dependencies in tests
Easier to see at a glance what the test's dependencies are.
This commit is contained in:
parent
2aa509b36c
commit
469aa81570
5 changed files with 13 additions and 14 deletions
|
@ -1,11 +1,11 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; core/test/test-autoload-files.el
|
||||
;;;
|
||||
(require 'core-projects)
|
||||
(require 'projectile)
|
||||
|
||||
(describe "core/autoload/files"
|
||||
:var (src dest projectile-projects-cache-time projectile-projects-cache)
|
||||
(before-all (require 'projectile))
|
||||
(after-all (unload-feature 'projectile t))
|
||||
|
||||
(before-each
|
||||
(setq src (make-temp-file "test-src")
|
||||
existing (make-temp-file "test-existing")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue