mirror of
https://github.com/restic/restic.git
synced 2026-10-08 19:37:12 +00:00
tests: Standardize use of SetupRepo/Teardown
This commit is contained in:
1 parent
d9a8dcfd67
commit
189a33730a
7 files changed
+65
-51
No files matched your search
+2
-2
@@ -8,8 +8,8 @@ import (
|
||||
)
|
||||
|
||||
func TestCache(t *testing.T) {
|
||||
repo := SetupRepo(t)
|
||||
defer TeardownRepo(t, repo)
|
||||
repo := SetupRepo()
|
||||
defer TeardownRepo(repo)
|
||||
|
||||
_, err := restic.NewCache(repo, "")
|
||||
OK(t, err)
|
||||
|
||||
Reference in new issue
Block a user