aboutsummaryrefslogtreecommitdiff
path: root/tests/test-pearl-mapping.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pearl-mapping.el')
-rw-r--r--tests/test-pearl-mapping.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test-pearl-mapping.el b/tests/test-pearl-mapping.el
index d9854cb..17eff82 100644
--- a/tests/test-pearl-mapping.el
+++ b/tests/test-pearl-mapping.el
@@ -124,11 +124,11 @@ outlive a change to `pearl-state-to-todo-mapping'."
(should (string-equal "Medium" (pearl--get-linear-priority-name 3)))
(should (string-equal "Low" (pearl--get-linear-priority-name 4))))
-(ert-deftest test-pearl-get-linear-priority-name-nil-and-unknown-default-medium ()
- "A nil, zero, or out-of-range priority falls back to Medium."
- (should (string-equal "Medium" (pearl--get-linear-priority-name 0)))
- (should (string-equal "Medium" (pearl--get-linear-priority-name nil)))
- (should (string-equal "Medium" (pearl--get-linear-priority-name 99))))
+(ert-deftest test-pearl-get-linear-priority-name-none-and-unknown ()
+ "Zero (None), nil, and out-of-range priorities read as None."
+ (should (string-equal "None" (pearl--get-linear-priority-name 0)))
+ (should (string-equal "None" (pearl--get-linear-priority-name nil)))
+ (should (string-equal "None" (pearl--get-linear-priority-name 99))))
;;; pearl-get-priorities