Merge pull request #476 from lhchavez/clean-up-leaked-dir

Clean up one leaked temporary directory

(cherry picked from commit e93f34cf18)
This commit is contained in:
Carlos Martín Nieto 2019-01-07 12:33:43 +00:00 committed by lhchavez
parent 7b1c424572
commit fedb5b8e68
1 changed files with 2 additions and 0 deletions

View File

@ -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")