mirror of
https://github.com/restic/restic.git
synced 2025-12-02 13:02:48 +00:00
Move internal/fs.TestChdir to internal/test.Chdir
This commit is contained in:
@@ -79,7 +79,7 @@ func TestWriteTar(t *testing.T) {
|
||||
|
||||
arch := archiver.New(repo, fs.Track{FS: fs.Local{}}, archiver.Options{})
|
||||
|
||||
back := fs.TestChdir(t, tmpdir)
|
||||
back := rtest.Chdir(t, tmpdir)
|
||||
defer back()
|
||||
|
||||
sn, _, err := arch.Snapshot(ctx, []string{"."}, archiver.SnapshotOptions{})
|
||||
|
||||
Reference in New Issue
Block a user