mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
use consistent alias for interal/test package
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/restic/restic/internal/fs"
|
||||
restictest "github.com/restic/restic/internal/test"
|
||||
rtest "github.com/restic/restic/internal/test"
|
||||
)
|
||||
|
||||
// debug.Log requires Tree.String.
|
||||
@@ -439,10 +439,10 @@ func TestTree(t *testing.T) {
|
||||
t.Skip("skip test on unix")
|
||||
}
|
||||
|
||||
tempdir := restictest.TempDir(t)
|
||||
tempdir := rtest.TempDir(t)
|
||||
TestCreateFiles(t, tempdir, test.src)
|
||||
|
||||
back := restictest.Chdir(t, tempdir)
|
||||
back := rtest.Chdir(t, tempdir)
|
||||
defer back()
|
||||
|
||||
tree, err := NewTree(fs.Local{}, test.targets)
|
||||
|
||||
Reference in New Issue
Block a user