Skip to content

Commit

Permalink
Clean up one leaked temporary directory
Browse files Browse the repository at this point in the history
A `defer cleanupTestRepo()` was missing.
  • Loading branch information
lhchavez committed Jan 5, 2019
1 parent 7ae1066 commit e9856f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e9856f2

Please sign in to comment.