diff --git a/internal/backend/backend_retry_test.go b/internal/backend/backend_retry_test.go index 4013f4ea5..e8f4d7315 100644 --- a/internal/backend/backend_retry_test.go +++ b/internal/backend/backend_retry_test.go @@ -7,8 +7,8 @@ import ( "io/ioutil" "testing" + "github.com/restic/restic/internal/backend/mock" "github.com/restic/restic/internal/errors" - "github.com/restic/restic/internal/mock" "github.com/restic/restic/internal/restic" "github.com/restic/restic/internal/test" ) diff --git a/internal/mock/backend.go b/internal/backend/mock/backend.go similarity index 100% rename from internal/mock/backend.go rename to internal/backend/mock/backend.go diff --git a/internal/backend/utils_test.go b/internal/backend/utils_test.go index 0841a57e4..2e77fa9bd 100644 --- a/internal/backend/utils_test.go +++ b/internal/backend/utils_test.go @@ -10,8 +10,8 @@ import ( "github.com/restic/restic/internal/backend" "github.com/restic/restic/internal/backend/mem" + "github.com/restic/restic/internal/backend/mock" "github.com/restic/restic/internal/errors" - "github.com/restic/restic/internal/mock" "github.com/restic/restic/internal/restic" rtest "github.com/restic/restic/internal/test" ) diff --git a/internal/limiter/limiter_backend_test.go b/internal/limiter/limiter_backend_test.go index 10e216be9..1014dbed1 100644 --- a/internal/limiter/limiter_backend_test.go +++ b/internal/limiter/limiter_backend_test.go @@ -8,7 +8,7 @@ import ( "io" "testing" - "github.com/restic/restic/internal/mock" + "github.com/restic/restic/internal/backend/mock" "github.com/restic/restic/internal/restic" rtest "github.com/restic/restic/internal/test" )