archiver: Remove unused variable from test

This commit is contained in:
Michael Eischer 2020-03-06 23:38:30 +01:00
parent d9a80e07b9
commit 014600bee6
1 changed files with 1 additions and 4 deletions

View File

@ -92,12 +92,9 @@ func TestBlobSaverError(t *testing.T) {
b := NewBlobSaver(ctx, tmb, saver, uint(runtime.NumCPU()))
var results []FutureBlob
for i := 0; i < test.blobs; i++ {
buf := &Buffer{Data: []byte(fmt.Sprintf("foo%d", i))}
fb := b.Save(ctx, restic.DataBlob, buf)
results = append(results, fb)
b.Save(ctx, restic.DataBlob, buf)
}
tmb.Kill(nil)