mirror of
https://github.com/restic/restic.git
synced 2025-08-22 13:17:48 +00:00
archiver: Fix test
The test relied on an undeocumented sideeffect of the LoadBlob implementation
This commit is contained in:
@@ -234,6 +234,7 @@ func TestEnsureFileContent(ctx context.Context, t testing.TB, repo restic.Reposi
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
copy(content[pos:pos+len(part)], part)
|
||||||
pos += len(part)
|
pos += len(part)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user