aboutsummaryrefslogtreecommitdiff
path: root/tests/test-init-module-headers.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 16:20:01 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 16:20:01 -0500
commit504a87abe8baf70b2734988ff23f2c5e48b2f77e (patch)
treeb6a65140c811e5db594348dd39941f7f1ed3990f /tests/test-init-module-headers.el
parent1dfd02da826d61d528fe42c5bee3c5dbcf098c82 (diff)
downloaddotemacs-504a87abe8baf70b2734988ff23f2c5e48b2f77e.tar.gz
dotemacs-504a87abe8baf70b2734988ff23f2c5e48b2f77e.zip
test: extend header allowlist to text/editing modules
I added the nine custom-* modules to the classified allowlist so the header-validation test enforces the contract on them too. 16 of 102 modules are now covered.
Diffstat (limited to 'tests/test-init-module-headers.el')
-rw-r--r--tests/test-init-module-headers.el15
1 files changed, 13 insertions, 2 deletions
diff --git a/tests/test-init-module-headers.el b/tests/test-init-module-headers.el
index 70bdc428..86b083ae 100644
--- a/tests/test-init-module-headers.el
+++ b/tests/test-init-module-headers.el
@@ -21,13 +21,24 @@
(require 'seq)
(defconst test-init-header--classified-modules
- '("system-lib"
+ '(;; Batch 1 — Foundation (Layer 1)
+ "system-lib"
"user-constants"
"host-environment"
"system-defaults"
"keyboard-compat"
"keybindings"
- "config-utilities")
+ "config-utilities"
+ ;; Batch 2 — Text/editing command modules (Layer 2)
+ "custom-case"
+ "custom-comments"
+ "custom-datetime"
+ "custom-buffer-file"
+ "custom-line-paragraph"
+ "custom-misc"
+ "custom-ordering"
+ "custom-text-enclose"
+ "custom-whitespace")
"Modules annotated with the load-graph header contract.
Grows one batch at a time. Parity with the init.el require set is the
Phase 1 exit criterion.")