mirror of
https://github.com/restic/restic.git
synced 2025-12-04 03:38:25 +00:00
Add option global --compression
This commit is contained in:
committed by
Michael Eischer
parent
f38f457a64
commit
8b11b86383
@@ -51,7 +51,7 @@ func TestRepositoryWithBackend(t testing.TB, be restic.Backend) (r restic.Reposi
|
||||
be, beCleanup = TestBackend(t)
|
||||
}
|
||||
|
||||
repo := New(be)
|
||||
repo := New(be, Options{})
|
||||
|
||||
cfg := restic.TestCreateConfig(t, TestChunkerPol)
|
||||
err := repo.init(context.TODO(), test.TestPassword, cfg)
|
||||
@@ -98,7 +98,7 @@ func TestOpenLocal(t testing.TB, dir string) (r restic.Repository) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
repo := New(be)
|
||||
repo := New(be, Options{})
|
||||
err = repo.SearchKey(context.TODO(), test.TestPassword, 10, "")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user