From e9856f2c38b4cf74341dd9706bff79d95ff9cb21 Mon Sep 17 00:00:00 2001 From: lhchavez Date: Sat, 5 Jan 2019 21:42:49 +0000 Subject: [PATCH] Clean up one leaked temporary directory A `defer cleanupTestRepo()` was missing. --- reset_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reset_test.go b/reset_test.go index 45777e46..89ebc49e 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")