diff options
Diffstat (limited to 'repository')
-rw-r--r-- | repository/gogit_testing.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/repository/gogit_testing.go b/repository/gogit_testing.go index afbb917f..c76ea61d 100644 --- a/repository/gogit_testing.go +++ b/repository/gogit_testing.go @@ -32,7 +32,10 @@ func CreateGoGitTestRepo(t testing.TB, bare bool) TestedRepo { } t.Cleanup(func() { - repo.Close() + err := repo.Close() + if err != nil { + log.Println(err) + } }) config := repo.LocalConfig() |