tests: Standardize use of SetupRepo/Teardown

This commit is contained in:
Alexander Neumann committed 2015-06-28 13:52:22 +02:00
1 parent d9a8dcfd67
commit 189a33730a
7 files changed
+65 -51

No files matched your search

+2 -2
View File
@@ -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)