mirror of
https://github.com/octoleo/restic.git
synced 2024-11-02 11:46:36 +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 {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user