(t *testing.T)
| 321 | } |
| 322 | |
| 323 | func TestResolveEmptyCurrentRef(t *testing.T) { |
| 324 | repo := test.NewRepo(t) |
| 325 | repo.Pushd() |
| 326 | defer func() { |
| 327 | repo.Popd() |
| 328 | repo.Cleanup() |
| 329 | }() |
| 330 | |
| 331 | _, err := CurrentRef() |
| 332 | assert.NotEqual(t, nil, err) |
| 333 | } |
| 334 | |
| 335 | func TestWorktrees(t *testing.T) { |
| 336 | // Only git 2.5+ |
nothing calls this directly
no test coverage detected