blob: db300025dd1b603fde2c01c047e52c234d070a74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
;;; test-wttrin-faces.el --- Tests for wttrin themeable faces -*- lexical-binding: t; -*-
;; Copyright (C) 2026 Craig Jennings
;;; Commentary:
;; Unit tests verifying the package's customizable faces are defined so
;; themes and `customize-face' can target them.
;;; Code:
(require 'ert)
(require 'wttrin)
;;; Normal Cases
(ert-deftest test-wttrin-faces-normal-all-defined ()
"Normal: every package face is defined after loading wttrin."
(dolist (face '(wttrin-mode-line-stale
wttrin-staleness-header
wttrin-instructions
wttrin-key))
(should (facep face))))
(provide 'test-wttrin-faces)
;;; test-wttrin-faces.el ends here
|