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
@@ -1970,7 +1970,7 @@ func TestArchiverContextCanceled(t *testing.T) {
|
||||
})
|
||||
|
||||
// Ensure that the archiver itself reports the canceled context and not just the backend
|
||||
repo := repository.TestRepositoryWithBackend(t, &noCancelBackend{mem.New()}, 0, repository.Options{})
|
||||
repo, _ := repository.TestRepositoryWithBackend(t, &noCancelBackend{mem.New()}, 0, repository.Options{})
|
||||
|
||||
back := rtest.Chdir(t, tempdir)
|
||||
defer back()
|
||||
|
||||
Reference in new issue
Block a user