Use shorthands in the tests' file

This commit is contained in:
Protesilaos Stavrou 2025-12-23 07:17:20 +02:00
parent d673df22ca
commit cd01e5ead6
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -24,14 +24,18 @@
;;; Commentary:
;; Tests for the Modus themes.
;; Tests for the Modus themes. Note that we are using Shorthands in
;; this file, so the "mtt-" prefix really is "modus-themes-test-".
;; Evaluate the following to learn more:
;;
;; (info "(elisp) Shorthands")
;;; Code:
(require 'ert)
(require 'modus-themes)
(ert-deftest modus-themes-test-inheritance ()
(ert-deftest mtt-inheritance ()
"Ensure all faces inherit from valid faces."
;; Third-party packages, loaded if possible to better test face inheritance.
(require 'font-latex nil t)
@ -48,3 +52,7 @@
(provide 'modus-themes-test)
;;; modus-themes-test.el ends here
;; Local Variables:
;; read-symbol-shorthands: (("mtt" . "modus-themes-test-"))
;; End: