mirror of
https://github.com/restic/restic.git
synced 2025-08-21 05:17:35 +00:00
Move internal/fs.TestChdir to internal/test.Chdir
This commit is contained in:
@@ -444,7 +444,7 @@ func TestTree(t *testing.T) {
|
||||
|
||||
TestCreateFiles(t, tempdir, test.src)
|
||||
|
||||
back := fs.TestChdir(t, tempdir)
|
||||
back := restictest.Chdir(t, tempdir)
|
||||
defer back()
|
||||
|
||||
tree, err := NewTree(fs.Local{}, test.targets)
|
||||
|
Reference in New Issue
Block a user