Clean up one leaked temporary directory
A `defer cleanupTestRepo()` was missing.
This commit is contained in:
parent
7ae106611c
commit
e9856f2c38
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue