(paths []string)
| 2117 | } |
| 2118 | |
| 2119 | func cleanUpTempFiles(paths []string) []error { |
| 2120 | var res []error |
| 2121 | for _, path := range paths { |
| 2122 | err := os.Remove(path) |
| 2123 | if err != nil { |
| 2124 | res = append(res, err) |
| 2125 | } |
| 2126 | } |
| 2127 | return res |
| 2128 | } |
| 2129 | |
| 2130 | func TestDirExists(t *testing.T) { |
| 2131 | mockT := new(testing.T) |
no outgoing calls
no test coverage detected
searching dependent graphs…