Move internal/fs.TestChdir to internal/test.Chdir

This commit is contained in:
greatroar committed 2020-09-17 10:43:33 +02:00
1 parent b10dce541e
commit 9abef3bf1a
9 files changed
+44 -44

No files matched your search

+1 -1
View File
@@ -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)