use consistent alias for interal/test package

This commit is contained in:
Michael Eischer
2024-03-29 00:24:03 +01:00
parent 510f6f06b0
commit ec2b79834a
9 changed files with 103 additions and 96 deletions

View File

@@ -5,11 +5,11 @@ import (
"path/filepath"
"testing"
restictest "github.com/restic/restic/internal/test"
rtest "github.com/restic/restic/internal/test"
)
func TestExtendedStat(t *testing.T) {
tempdir := restictest.TempDir(t)
tempdir := rtest.TempDir(t)
filename := filepath.Join(tempdir, "file")
err := os.WriteFile(filename, []byte("foobar"), 0640)
if err != nil {