summaryrefslogtreecommitdiff
path: root/modules/ui-theme.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-03 21:32:09 -0500
committerCraig Jennings <c@cjennings.net>2026-05-03 21:32:09 -0500
commit1d58a3f547976ac46d673b99af8a4eedac52a92f (patch)
treefd033442cdd0d5f73da520a4136dac445319c3c4 /modules/ui-theme.el
parent1c7e25d5fbb31b952e797afdd45f99854097594f (diff)
downloaddotemacs-1d58a3f547976ac46d673b99af8a4eedac52a92f.tar.gz
dotemacs-1d58a3f547976ac46d673b99af8a4eedac52a92f.zip
test: re-point projectile revert tests at the decision helper
The legacy `cj/--projectile-revert-on-fail` wrapper and `cj/--projectile-revert-state` global were removed when the closure-based revert refactor landed (commit 1c7e25d). The corresponding tests in `test-dev-fkeys--projectile-revert-on-fail.el` and the around-revert / capture-cmd files still referenced the legacy symbols, so 7 tests had been failing on `main` since that commit. I re-pointed each test at `cj/--projectile-revert-state-on-fail`, the pure decision helper that the closure-based hook delegates to. Each test now passes the captured `state` plist as an explicit argument instead of binding the old global. Test names updated to match the new target. I dropped two tests that no longer have a target. `revert-on-fail-clears-state` was specific to the wrapper clearing the global on completion, and there is no global to clear now. `revert-on-fail-removes-itself` was specific to the wrapper removing itself from `compilation-finish-functions`. The closure-based hook removes itself differently and is covered by the buffer-local hook tests in `test-dev-fkeys--projectile-around-revert.el`. The around-revert and capture-cmd tests also lost their `cj/--projectile-revert-state nil` let-bindings since that variable no longer exists. 21 projectile-related tests pass together.
Diffstat (limited to 'modules/ui-theme.el')
0 files changed, 0 insertions, 0 deletions