aboutsummaryrefslogtreecommitdiff
path: root/tests/test-pearl-format.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pearl-format.el')
-rw-r--r--tests/test-pearl-format.el11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/test-pearl-format.el b/tests/test-pearl-format.el
index ece64d3..96ec395 100644
--- a/tests/test-pearl-format.el
+++ b/tests/test-pearl-format.el
@@ -32,15 +32,10 @@
(require 'testutil-fixtures (expand-file-name "testutil-fixtures.el"))
(defmacro test-pearl--with-default-mapping (&rest body)
- "Run BODY with the default state mapping and a clean pattern cache."
+ "Run BODY. Kept as a thin wrapper: the renderer slugifies the state name now,
+so these tests no longer need a state mapping bound."
(declare (indent 0))
- `(let ((pearl-state-to-todo-mapping
- '(("Todo" . "TODO") ("In Progress" . "IN-PROGRESS")
- ("In Review" . "IN-REVIEW") ("Backlog" . "BACKLOG")
- ("Blocked" . "BLOCKED") ("Done" . "DONE")))
- (pearl-todo-states-pattern nil)
- (pearl--todo-states-pattern-source nil))
- ,@body))
+ `(progn ,@body))
(defun test-pearl--norm-full ()
"A normalized fully-populated issue."