aboutsummaryrefslogtreecommitdiff
path: root/tests/test-coverage-core--backend-registry.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-10 00:53:13 -0500
committerCraig Jennings <c@cjennings.net>2026-07-10 00:53:13 -0500
commitcb1d42de518514b3d3ee07e85c36e26e7570916e (patch)
tree79cc5e62e4056c8f0672b1636cf0e706295d91cd /tests/test-coverage-core--backend-registry.el
parent47b2e618a0547f8613784e7b25e94aed2f596f84 (diff)
downloaddotemacs-cb1d42de518514b3d3ee07e85c36e26e7570916e.tar.gz
dotemacs-cb1d42de518514b3d3ee07e85c36e26e7570916e.zip
fix(test-runner): reject a sibling dir that shares the test dir's prefix
cj/test--do-focus-add-file tested containment with a bare string-prefix-p on two truenames, so tests-old/foo.el passed as being inside tests/ and joined the focus list. The correct helper was already there. cj/test--file-in-directory-p wraps the directory in file-name-as-directory first, and the other two call sites already used it. This one didn't. The helper even had a sibling-rejection test. It was proven correct while the call site two hundred lines away never called it, which is why the new test drives the real focus-add path with a tests-old/ directory on disk rather than testing the helper again.
Diffstat (limited to 'tests/test-coverage-core--backend-registry.el')
0 files changed, 0 insertions, 0 deletions