(t *testing.T)
| 990 | } |
| 991 | |
| 992 | func TestClientHasLocalBranchRejectsMissingBranch(t *testing.T) { |
| 993 | // Given a repository without a feature branch |
| 994 | repo := newTestRepo(t) |
| 995 | |
| 996 | // When the local branch is checked |
| 997 | exists := repo.client.HasLocalBranch(t.Context(), "feature") |
| 998 | |
| 999 | // Then the branch is not found |
| 1000 | assert.False(t, exists, "missing branch should not resolve") |
| 1001 | } |
| 1002 | |
| 1003 | func TestClientCheckoutBranchSwitchesBranches(t *testing.T) { |
| 1004 | // Given a repository checked out on feature with a trunk branch |
nothing calls this directly
no test coverage detected