MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / TestWorktreePathForPRD

Function TestWorktreePathForPRD

internal/git/worktree_test.go:254–260  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

252}
253
254func TestWorktreePathForPRD(t *testing.T) {
255 result := WorktreePathForPRD("/home/user/project", "auth")
256 expected := filepath.Join("/home/user/project", ".chief", "worktrees", "auth")
257 if result != expected {
258 t.Errorf("WorktreePathForPRD() = %q, want %q", result, expected)
259 }
260}
261
262func TestPruneWorktrees(t *testing.T) {
263 t.Run("prune succeeds on clean repo", func(t *testing.T) {

Callers

nothing calls this directly

Calls 1

WorktreePathForPRDFunction · 0.85

Tested by

no test coverage detected