mirror of
https://github.com/restic/restic.git
synced 2026-05-27 04:25:22 +00:00
tests: Standardize use of SetupRepo/Teardown
This commit is contained in:
+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