summaryrefslogtreecommitdiff
path: root/reset_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2019-01-07 12:33:43 +0000
committerGitHub <[email protected]>2019-01-07 12:33:43 +0000
commite93f34cf186c46cd105b0f58ac2a390cc87fb698 (patch)
tree0c39b5479608d68159472b137fa2385f6c6f1b00 /reset_test.go
parent7ae106611c9cabe9c3c30343139efbb5d7d6fc27 (diff)
parente9856f2c38b4cf74341dd9706bff79d95ff9cb21 (diff)
Merge pull request #476 from lhchavez/clean-up-leaked-dir
Clean up one leaked temporary directory
Diffstat (limited to 'reset_test.go')
-rw-r--r--reset_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/reset_test.go b/reset_test.go
index 45777e4..89ebc49 100644
--- a/reset_test.go
+++ b/reset_test.go
@@ -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")