Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
To reflect recent changes
  • Loading branch information
hlissner committed Jun 29, 2019
1 parent af7f41c commit 22c8246
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test-helper.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
(push (expand-file-name "../themes" (file-name-directory load-file-name)) load-path)

(require 'doom-themes)
(require 'doom-themes-common)
(require 'doom-themes-base)

(defalias '-color-p 'doom-themes--colors-p)
;; (defalias '-build-face 'doom-themes--build-face)
Expand All @@ -19,9 +19,9 @@

(defmacro -with-colors! (colors &rest body)
(declare (indent defun))
`(let ((doom-themes--colors ',colors))
`(let ((doom-themes--palette ',colors))
(let* (,@colors)
(setq doom-themes--colors
(setq doom-themes--palette
(list ,@(cl-loop for (var val) in colors
collect `(cons ',var ,val))))
,@body)))
Expand Down

0 comments on commit 22c8246

Please sign in to comment.