mirror of
https://github.com/restic/restic.git
synced 2026-11-13 14:42:03 +00:00
repository: make repo.Options configurable for test repos
This commit is contained in:
1 parent
29e1caf825
commit
0ea62b5ac6
5 files changed
+9
-9
No files matched your search
@@ -69,7 +69,7 @@ func TestUpgradeRepoV2Failure(t *testing.T) {
|
||||
Backend: be,
|
||||
}
|
||||
|
||||
repo := repository.TestRepositoryWithBackend(t, be, 1)
|
||||
repo := repository.TestRepositoryWithBackend(t, be, 1, repository.Options{})
|
||||
if repo.Config().Version != 1 {
|
||||
t.Fatal("test repo has wrong version")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user