Move internal/fs.TestChdir to internal/test.Chdir
This commit is contained in:
parent
b10dce541e
commit
9abef3bf1a
9 changed files with 44 additions and 44 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue