(t *testing.T, filePath string)
| 178 | } |
| 179 | |
| 180 | func removeTmpFile(t *testing.T, filePath string) { |
| 181 | t.Helper() |
| 182 | if err := os.Remove(filePath); err != nil { |
| 183 | t.Fatalf("os.RemoveFIle(%q) failed: %v", filePath, err) |
| 184 | } |
| 185 | t.Logf("Removed file at: %s", filePath) |
| 186 | } |
| 187 | |
| 188 | // createTempDirWithFiles creates a temporary directory under the system default |
| 189 | // tempDir with the given dirSuffix. It also reads from certSrc, keySrc and |
no test coverage detected