(t *testing.T)
| 308 | } |
| 309 | |
| 310 | func TestInferGitRepoRoot_InRepoRoot(t *testing.T) { |
| 311 | tempDir, _ := setupTestRepository(t) |
| 312 | |
| 313 | root, err := InferGitRepoRoot(tempDir) |
| 314 | require.NoError(t, err, "InferGitRepoRoot failed on repo root") |
| 315 | assertPathsEqual(t, root, tempDir) |
| 316 | } |
| 317 | |
| 318 | func TestInferGitRepoRoot_InNestedDir(t *testing.T) { |
| 319 | tempDir, _ := setupTestRepository(t) |
nothing calls this directly
no test coverage detected