(t *testing.T)
| 134 | } |
| 135 | |
| 136 | func TestIsGitRepo(t *testing.T) { |
| 137 | // Test in current directory (should be a git repo based on project setup) |
| 138 | result := isGitRepo() |
| 139 | |
| 140 | // Since we're running in a git repository, this should return true |
| 141 | if !result { |
| 142 | t.Error("Expected isGitRepo() to return true in git repository") |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | // TestFindGitRoot is already tested in gitroot_test.go, skipping duplicate |
| 147 |