(t *testing.T)
| 252 | } |
| 253 | |
| 254 | func 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 | |
| 262 | func TestPruneWorktrees(t *testing.T) { |
| 263 | t.Run("prune succeeds on clean repo", func(t *testing.T) { |
nothing calls this directly
no test coverage detected