mirror of
https://github.com/restic/restic.git
synced 2025-12-23 09:56:20 +00:00
tests: Standardize use of SetupRepo/Teardown
This commit is contained in:
@@ -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