mirror of
https://github.com/restic/restic.git
synced 2025-12-26 03:26:32 +00:00
Fix TestFindUsedBlobs
This commit is contained in:
@@ -92,7 +92,7 @@ func TestFindUsedBlobs(t *testing.T) {
|
||||
|
||||
for i, sn := range snapshots {
|
||||
usedBlobs := pack.NewBlobSet()
|
||||
err := FindUsedBlobs(repo, *sn.Tree, usedBlobs)
|
||||
err := FindUsedBlobs(repo, *sn.Tree, usedBlobs, pack.NewBlobSet())
|
||||
if err != nil {
|
||||
t.Errorf("FindUsedBlobs returned error: %v", err)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user