aboutsummaryrefslogtreecommitdiff
path: root/modules/system-utils.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
commit889f68d2931714f42000cc8c8c329757d3fc2c38 (patch)
tree44fac2b93f915a6b9a68452806d09775271633d5 /modules/system-utils.el
parent25cd12d0e062506f893a10595ea061367c95275b (diff)
downloaddotemacs-889f68d2931714f42000cc8c8c329757d3fc2c38.tar.gz
dotemacs-889f68d2931714f42000cc8c8c329757d3fc2c38.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/system-utils.el')
0 files changed, 0 insertions, 0 deletions