Clean up one leaked temporary directory #476

Merged
lhchavez merged 1 commits from clean-up-leaked-dir into master 2019-01-07 06:33:44 -06:00
1 changed files with 2 additions and 0 deletions

View File

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