Clean up one leaked temporary directory #476
|
@ -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