mirror of
https://github.com/restic/restic.git
synced 2025-08-19 12:22:31 +00:00
Move internal/fs.TestChdir to internal/test.Chdir
This commit is contained in:
@@ -495,7 +495,7 @@ func TestTestEnsureSnapshot(t *testing.T) {
|
||||
|
||||
createFilesAt(t, targetDir, test.files)
|
||||
|
||||
back := fs.TestChdir(t, tempdir)
|
||||
back := restictest.Chdir(t, tempdir)
|
||||
defer back()
|
||||
|
||||
repo, cleanup := repository.TestRepository(t)
|
||||
|
Reference in New Issue
Block a user