diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-10 15:33:33 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-10 15:33:33 -0500 |
| commit | f59ff9606fd96c6b1b9037ea5befb39b5e5a57b9 (patch) | |
| tree | cb77f08013e535f74d11d23fe9be82470fb4b275 /tests | |
| parent | 8c12629f8c4c8726b7b74ad3912abd9cd1cade9c (diff) | |
| download | dotemacs-f59ff9606fd96c6b1b9037ea5befb39b5e5a57b9.tar.gz dotemacs-f59ff9606fd96c6b1b9037ea5befb39b5e5a57b9.zip | |
refactor(tests): rename test files to match cj-*-lib.el modules
The earlier cj-cache and cj-org-text rename commits renamed the
modules but missed renaming the test files. Bring them in line:
- tests/test-cj-cache.el -> tests/test-cj-cache-lib.el
- tests/test-cj-org-text-sanitize.el ->
tests/test-cj-org-text-lib-sanitize.el
Update file headers, provide forms, and the in-commentary references.
No behavior change.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test-cj-cache-lib.el (renamed from tests/test-cj-cache.el) | 6 | ||||
| -rw-r--r-- | tests/test-cj-org-text-lib-sanitize.el (renamed from tests/test-cj-org-text-sanitize.el) | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/test-cj-cache.el b/tests/test-cj-cache-lib.el index 68f2bf0e..aeb329dd 100644 --- a/tests/test-cj-cache.el +++ b/tests/test-cj-cache-lib.el @@ -1,4 +1,4 @@ -;;; test-cj-cache.el --- Tests for cj-cache.el -*- lexical-binding: t; -*- +;;; test-cj-cache-lib.el --- Tests for cj-cache-lib.el -*- lexical-binding: t; -*- ;;; Commentary: ;; Unit tests for the TTL+building cache helper. Covers cache-make / @@ -159,5 +159,5 @@ the prior agenda/refile contract." (should-not (plist-get c :time)) (should (= 60 (plist-get c :ttl))))) -(provide 'test-cj-cache) -;;; test-cj-cache.el ends here +(provide 'test-cj-cache-lib) +;;; test-cj-cache-lib.el ends here diff --git a/tests/test-cj-org-text-sanitize.el b/tests/test-cj-org-text-lib-sanitize.el index 4a4ef2c3..a4f8dca3 100644 --- a/tests/test-cj-org-text-sanitize.el +++ b/tests/test-cj-org-text-lib-sanitize.el @@ -1,8 +1,8 @@ -;;; test-cj-org-text-sanitize.el --- Tests for the Org-safe text sanitizers -*- lexical-binding: t; -*- +;;; test-cj-org-text-lib-sanitize.el --- Tests for the Org-safe text sanitizers -*- lexical-binding: t; -*- ;;; Commentary: ;; Unit tests for `cj/org-sanitize-body-text', `cj/org-sanitize-property-value', -;; and `cj/org-sanitize-heading' in cj-org-text.el. Pure string helpers +;; and `cj/org-sanitize-heading' in cj-org-text-lib.el. Pure string helpers ;; for safely composing Org content from external sources (calendar ;; bodies, web-clipped HTML, mail subjects, AI transcripts). Originally ;; lived in calendar-sync.el under `calendar-sync--sanitize-*' names. @@ -107,5 +107,5 @@ "Boundary: nil input returns nil." (should (null (cj/org-sanitize-property-value nil)))) -(provide 'test-cj-org-text-sanitize) -;;; test-cj-org-text-sanitize.el ends here +(provide 'test-cj-org-text-lib-sanitize) +;;; test-cj-org-text-lib-sanitize.el ends here |
