mirror of
https://github.com/octoleo/restic.git
synced 2024-11-16 18:15:20 +00:00
Fix TestFindUsedBlobs
This commit is contained in:
parent
d7e5f11b78
commit
e9cddc0be5
@ -92,7 +92,7 @@ func TestFindUsedBlobs(t *testing.T) {
|
|||||||
|
|
||||||
for i, sn := range snapshots {
|
for i, sn := range snapshots {
|
||||||
usedBlobs := pack.NewBlobSet()
|
usedBlobs := pack.NewBlobSet()
|
||||||
err := FindUsedBlobs(repo, *sn.Tree, usedBlobs)
|
err := FindUsedBlobs(repo, *sn.Tree, usedBlobs, pack.NewBlobSet())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("FindUsedBlobs returned error: %v", err)
|
t.Errorf("FindUsedBlobs returned error: %v", err)
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user