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

Clean up one leaked temporary directory
This commit is contained in:
Carlos Martín Nieto 2019-01-07 12:33:43 +00:00 committed by GitHub
commit e93f34cf18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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")