diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2020-03-15 21:18:32 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2020-03-15 21:18:32 +0100 |
commit | 9d0f15c4fa712cdacfa3887e9baac918f093fbf6 (patch) | |
tree | eb1a4db1169ba4bb9ae58727a462d54f93f5f85c /plumbing/format/idxfile | |
parent | 8fe5ed769fa01a42eafb3b7f064ffe8e0d436408 (diff) | |
download | go-git-9d0f15c4fa712cdacfa3887e9baac918f093fbf6.tar.gz |
ci: based on github actionsv5.0.0
Diffstat (limited to 'plumbing/format/idxfile')
-rw-r--r-- | plumbing/format/idxfile/decoder_test.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plumbing/format/idxfile/decoder_test.go b/plumbing/format/idxfile/decoder_test.go index 467e242..94059cc 100644 --- a/plumbing/format/idxfile/decoder_test.go +++ b/plumbing/format/idxfile/decoder_test.go @@ -124,11 +124,7 @@ func BenchmarkDecode(b *testing.B) { b.Errorf("unexpected error reading idx file: %s", err) } - defer func() { - if err := fixtures.Clean(); err != nil { - b.Errorf("unexpected error cleaning fixtures: %s", err) - } - }() + defer fixtures.Clean() for i := 0; i < b.N; i++ { f := bytes.NewBuffer(fixture) |