(t *testing.T)
| 159 | } |
| 160 | |
| 161 | func TestWorktreeDisplayPathWithWorktree(t *testing.T) { |
| 162 | p := &PRDPicker{basePath: "/project"} |
| 163 | |
| 164 | entry := PRDEntry{WorktreeDir: "/project/.chief/worktrees/auth"} |
| 165 | result := p.worktreeDisplayPath(entry) |
| 166 | if result != ".chief/worktrees/auth/" { |
| 167 | t.Errorf("expected '.chief/worktrees/auth/', got %q", result) |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | func TestWorktreeDisplayPathWithoutWorktree(t *testing.T) { |
| 172 | p := &PRDPicker{basePath: "/project"} |
nothing calls this directly
no test coverage detected