Clean up one leaked temporary directory

A `defer cleanupTestRepo()` was missing.
This commit is contained in:
lhchavez 2019-01-05 21:42:49 +00:00
parent 7ae106611c
commit e9856f2c38
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")