diff options
Diffstat (limited to 'repository_test.go')
-rw-r--r-- | repository_test.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/repository_test.go b/repository_test.go index f13a755..e366373 100644 --- a/repository_test.go +++ b/repository_test.go @@ -2844,11 +2844,7 @@ func (s *RepositorySuite) TestBrokenMultipleShallowFetch(c *C) { } func BenchmarkObjects(b *testing.B) { - defer func() { - if err := fixtures.Clean(); err != nil { - b.Fatal(err) - } - }() + defer fixtures.Clean() for _, f := range fixtures.ByTag("packfile") { if f.DotGitHash == "" { |