Forward-require dependencies in tests

Easier to see at a glance what the test's dependencies are.
This commit is contained in:
Henrik Lissner 2018-08-25 23:47:31 +02:00
parent 2aa509b36c
commit 469aa81570
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 13 additions and 14 deletions

View file

@ -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")