Remove deletes the test repository at `repo.Path`.
(t *testing.T)
| 62 | |
| 63 | // Remove deletes the test repository at `repo.Path`. |
| 64 | func (repo *TestRepo) Remove(t *testing.T) { |
| 65 | t.Helper() |
| 66 | |
| 67 | _ = os.RemoveAll(repo.Path) |
| 68 | } |
| 69 | |
| 70 | // Clone creates a clone of `repo` at a temporary path constructued |
| 71 | // using `pattern`. The caller is responsible for removing it when |
no outgoing calls