aboutsummaryrefslogtreecommitdiff
path: root/tests/test-chime-validate-configuration.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-23 19:41:30 -0600
committerCraig Jennings <c@cjennings.net>2026-02-23 19:41:30 -0600
commite15b085a553f2b7799cb3a9d82e2977a64577b40 (patch)
treee837b982c7124272b514b3036c599b3b088e3cc6 /tests/test-chime-validate-configuration.el
parentbe0cf66ec7e1ef3fdadd1ed935a7b3b97ad30d32 (diff)
downloadchime-e15b085a553f2b7799cb3a9d82e2977a64577b40.tar.gz
chime-e15b085a553f2b7799cb3a9d82e2977a64577b40.zip
Improve org-agenda-files validation to distinguish files from directories
Diffstat (limited to 'tests/test-chime-validate-configuration.el')
-rw-r--r--tests/test-chime-validate-configuration.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-chime-validate-configuration.el b/tests/test-chime-validate-configuration.el
index 763d845..896ac0f 100644
--- a/tests/test-chime-validate-configuration.el
+++ b/tests/test-chime-validate-configuration.el
@@ -124,9 +124,9 @@
(let ((issues (chime-validate-configuration)))
(should (= 1 (length issues)))
(should (eq :warning (caar issues)))
- (should (string-match-p "2 org-agenda-files don't exist" (cadar issues)))
- (should (string-match-p "/missing.org" (cadar issues)))
- (should (string-match-p "/also-missing.org" (cadar issues))))))
+ (should (string-match-p "2 org-agenda-files entries don't exist" (cadar issues)))
+ (should (string-match-p "/missing.org (file)" (cadar issues)))
+ (should (string-match-p "/also-missing.org (file)" (cadar issues))))))
(test-chime-validate-configuration-teardown))
(ert-deftest test-chime-validate-configuration-boundary-all-files-missing-returns-warning ()
@@ -141,7 +141,7 @@
(let ((issues (chime-validate-configuration)))
(should (= 1 (length issues)))
(should (eq :warning (caar issues)))
- (should (string-match-p "2 org-agenda-files don't exist" (cadar issues))))))
+ (should (string-match-p "2 org-agenda-files entries don't exist" (cadar issues))))))
(test-chime-validate-configuration-teardown))
;;; Error Cases - Invalid Configurations