(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func TestIsGitRepository_Valid(t *testing.T) { |
| 14 | tmpDir := t.TempDir() |
| 15 | setupGitRepo(t, tmpDir) |
| 16 | |
| 17 | isRepo := isGitRepository(tmpDir) |
| 18 | |
| 19 | assert.True(t, isRepo) |
| 20 | } |
| 21 | |
| 22 | func TestIsGitRepository_Invalid(t *testing.T) { |
| 23 | tmpDir := t.TempDir() |
nothing calls this directly
no test coverage detected