forked from TrueCloudLab/restic
archiver: Fix test
The test relied on an undeocumented sideeffect of the LoadBlob implementation
This commit is contained in:
parent
f78bd14e28
commit
d6db5a1fc2
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,7 @@ func TestEnsureFileContent(ctx context.Context, t testing.TB, repo restic.Reposi
|
|||
return
|
||||
}
|
||||
|
||||
copy(content[pos:pos+len(part)], part)
|
||||
pos += len(part)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue