mirror of
https://github.com/restic/restic.git
synced 2025-10-29 12:30:03 +00:00
repository: fix parameter order of LookupBlobSize
All methods should use blobType followed by ID.
This commit is contained in:
@@ -89,7 +89,7 @@ func TestFuseFile(t *testing.T) {
|
||||
memfile []byte
|
||||
)
|
||||
for _, id := range content {
|
||||
size, found := repo.LookupBlobSize(id, restic.DataBlob)
|
||||
size, found := repo.LookupBlobSize(restic.DataBlob, id)
|
||||
rtest.Assert(t, found, "Expected to find blob id %v", id)
|
||||
filesize += uint64(size)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user