summaryrefslogtreecommitdiff
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
commit96db4d28e164f09c22eee3c61c14354acf5a6cd7 (patch)
treebb1d1aef8c725a0dfe3b3f1f10f311626e71976e /tests/test-init-module-headers.el
parent13c69e56d7d9ec602bb674608e2db2fb31427856 (diff)
downloaddotemacs-96db4d28e164f09c22eee3c61c14354acf5a6cd7.tar.gz
dotemacs-96db4d28e164f09c22eee3c61c14354acf5a6cd7.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.")