diff options
| author | lhchavez <[email protected]> | 2019-01-05 21:42:49 +0000 |
|---|---|---|
| committer | lhchavez <[email protected]> | 2019-01-05 22:41:35 +0000 |
| commit | e9856f2c38b4cf74341dd9706bff79d95ff9cb21 (patch) | |
| tree | 0c39b5479608d68159472b137fa2385f6c6f1b00 /reset_test.go | |
| parent | 7ae106611c9cabe9c3c30343139efbb5d7d6fc27 (diff) | |
Clean up one leaked temporary directory
A `defer cleanupTestRepo()` was missing.
Diffstat (limited to 'reset_test.go')
| -rw-r--r-- | reset_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/reset_test.go b/reset_test.go index 45777e4..89ebc49 100644 --- a/reset_test.go +++ b/reset_test.go @@ -8,6 +8,8 @@ import ( func TestResetToCommit(t *testing.T) { t.Parallel() repo := createTestRepo(t) + defer cleanupTestRepo(t, repo) + seedTestRepo(t, repo) // create commit to reset to commitId, _ := updateReadme(t, repo, "testing reset") |
