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:
parent
7b1c424572
commit
fedb5b8e68
|
@ -8,6 +8,8 @@ import (
|
||||||
func TestResetToCommit(t *testing.T) {
|
func TestResetToCommit(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
repo := createTestRepo(t)
|
repo := createTestRepo(t)
|
||||||
|
defer cleanupTestRepo(t, repo)
|
||||||
|
|
||||||
seedTestRepo(t, repo)
|
seedTestRepo(t, repo)
|
||||||
// create commit to reset to
|
// create commit to reset to
|
||||||
commitId, _ := updateReadme(t, repo, "testing reset")
|
commitId, _ := updateReadme(t, repo, "testing reset")
|
||||||
|
|
Loading…
Reference in New Issue