mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
repository: add dedicated test helper
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/restic/restic/internal/backend"
|
||||
"github.com/restic/restic/internal/checker"
|
||||
"github.com/restic/restic/internal/repository"
|
||||
"github.com/restic/restic/internal/restic"
|
||||
rtest "github.com/restic/restic/internal/test"
|
||||
@@ -36,7 +35,7 @@ func testRebuildIndex(t *testing.T, readAllPacks bool, damage func(t *testing.T,
|
||||
ReadAllPacks: readAllPacks,
|
||||
}, &progress.NoopPrinter{}))
|
||||
|
||||
checker.TestCheckRepo(t, repo, true)
|
||||
repository.TestCheckRepo(t, repo)
|
||||
}
|
||||
|
||||
func TestRebuildIndex(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user