aboutsummaryrefslogtreecommitdiff
path: root/modules/host-environment.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-10 13:31:53 -0500
committerCraig Jennings <c@cjennings.net>2026-05-10 13:31:53 -0500
commit1f907e40bb2124084e336d429cd60830df6aa369 (patch)
tree67be9d17a9b54ac09ece7f3261316e15f1028a1e /modules/host-environment.el
parent32e57be15a48aa24470e9f3bc6a206c7624bd6b0 (diff)
downloaddotemacs-1f907e40bb2124084e336d429cd60830df6aa369.tar.gz
dotemacs-1f907e40bb2124084e336d429cd60830df6aa369.zip
test(dirvish): cover cj/get-project-root with stubbed APIs
`cj/get-project-root' was already in the right shape (pure dispatch over `projectile-project-root' and `project-current'), but had no tests. Add four covering the four meaningful states: projectile finds a root, projectile returns nil and project.el finds one, projectile errors and the wrapper falls through to project.el, and neither finds anything. The tests stub all three external symbols (`projectile-project-root', `project-current', `project-root') so they exercise the function without a project on disk.
Diffstat (limited to 'modules/host-environment.el')
0 files changed, 0 insertions, 0 deletions