mirror of
https://github.com/restic/restic.git
synced 2026-10-13 05:27:13 +00:00
remove usages of repo.Backend() from tests
This commit is contained in:
1 parent
aa4647f773
commit
8a425c2f0a
18 files changed
+96
-95
No files matched your search
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
func TestUpgradeRepoV2(t *testing.T) {
|
||||
repo := repository.TestRepositoryWithVersion(t, 1)
|
||||
repo, _ := repository.TestRepositoryWithVersion(t, 1)
|
||||
if repo.Config().Version != 1 {
|
||||
t.Fatal("test repo has wrong version")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user