Fix core & core-lib tests

This commit is contained in:
Henrik Lissner 2019-11-07 21:36:18 -05:00
parent d683effd23
commit d099fac2b9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 42 additions and 27 deletions

View file

@ -234,11 +234,13 @@
(it "loads a file relative to the current directory"
(load! "path")
(expect 'load :to-have-been-called)
(expect 'load :to-have-been-called-with (expand-file-name "path" (eval-when-compile (dir!))) nil t))
(expect 'load :to-have-been-called-with
(expand-file-name "path" (eval-when-compile (dir!))) nil 'nomessage))
(it "loads a file relative to a specified directory"
(load! "path" doom-etc-dir)
(expect 'load :to-have-been-called-with (expand-file-name "path" doom-etc-dir) nil t)))
(expect 'load :to-have-been-called-with
(expand-file-name "path" doom-etc-dir) nil 'nomessage)))
(describe "quiet!"
(it "suppresses output from message"