mirror of
https://github.com/restic/restic.git
synced 2025-10-10 15:23:26 +00:00
Return real size from SaveBlob
This commit is contained in:

committed by
Michael Eischer

parent
fdc53a9d32
commit
99634c0936
@@ -483,7 +483,7 @@ func TestCheckerBlobTypeConfusion(t *testing.T) {
|
||||
buf, err := repo.LoadBlob(ctx, restic.TreeBlob, id, nil)
|
||||
test.OK(t, err)
|
||||
|
||||
_, _, err = repo.SaveBlob(ctx, restic.DataBlob, buf, id, false)
|
||||
_, _, _, err = repo.SaveBlob(ctx, restic.DataBlob, buf, id, false)
|
||||
test.OK(t, err)
|
||||
|
||||
malNode := &restic.Node{
|
||||
|
Reference in New Issue
Block a user