(t *testing.T, path string)
| 2252 | } |
| 2253 | |
| 2254 | func removeFile(t *testing.T, path string) { |
| 2255 | err := os.Remove(path) |
| 2256 | if err != nil { |
| 2257 | failWithFailure(t, "no error", fmt.Sprintf("error %v occured deleting file %s", err, path)) |
| 2258 | } |
| 2259 | } |
| 2260 | |
| 2261 | func moveFile(t *testing.T, oldPath string, newPath string) { |
| 2262 | err := os.Rename(oldPath, newPath) |