branch: externals/modus-themes
commit cd01e5ead61a177faafed6aad28f4e1e4141f350
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Use shorthands in the tests' file
---
tests/{modus-themes-tests.el => modus-themes-test.el} | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/tests/modus-themes-tests.el b/tests/modus-themes-test.el
similarity index 84%
rename from tests/modus-themes-tests.el
rename to tests/modus-themes-test.el
index 64436b0c55..c533b9d377 100644
--- a/tests/modus-themes-tests.el
+++ b/tests/modus-themes-test.el
@@ -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: