forked from TrueCloudLab/restic
Rework index decode and handling old format
This commit is contained in:
parent
356bb62243
commit
eb73182fcf
8 changed files with 180 additions and 48 deletions
|
@ -199,7 +199,7 @@ func TestLoadJSONUnpacked(t *testing.T) {
|
|||
|
||||
var repoFixture = filepath.Join("testdata", "test-repo.tar.gz")
|
||||
|
||||
func TestLoadIndex(t *testing.T) {
|
||||
func TestRepositoryLoadIndex(t *testing.T) {
|
||||
WithTestEnvironment(t, repoFixture, func(repodir string) {
|
||||
repo := OpenLocalRepo(t, repodir)
|
||||
OK(t, repo.LoadIndex())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue