mirror of
https://github.com/restic/restic.git
synced 2026-10-20 08:08:11 +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
@@ -93,8 +93,8 @@ func TestNodeComparison(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestLoadTree(t *testing.T) {
|
||||
repo := SetupRepo(t)
|
||||
defer TeardownRepo(t, repo)
|
||||
repo := SetupRepo()
|
||||
defer TeardownRepo(repo)
|
||||
|
||||
// save tree
|
||||
tree := restic.NewTree()
|
||||
|
||||
Reference in new issue
Block a user