(t *testing.T, repoPath, relativePath string)
| 425 | } |
| 426 | |
| 427 | func assertFileExists(t *testing.T, repoPath, relativePath string) { |
| 428 | t.Helper() |
| 429 | filePath := filepath.Join(repoPath, relativePath) |
| 430 | _, err := os.Stat(filePath) |
| 431 | require.NoError(t, err, "file %s should exist", relativePath) |
| 432 | } |
| 433 | |
| 434 | func readFile(t *testing.T, repoPath, relativePath string) string { |
| 435 | t.Helper() |
no test coverage detected